diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-20 09:45:06 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 9ef9495e3a96e6d3ebcce46d716500ad396fe979 (patch) | |
| tree | c0c99bcb2e0794043c0dd824f258db458c68e5ce /lib/lib_errors.c | |
| parent | 8b895cd32faf5a48a6c565877091ff92b6541092 (diff) | |
lib: Convert thread.c to use new error-code subsystem
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/lib_errors.c')
| -rw-r--r-- | lib/lib_errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/lib_errors.c b/lib/lib_errors.c index 5610a32cf1..01fa27e82c 100644 --- a/lib/lib_errors.c +++ b/lib/lib_errors.c @@ -41,6 +41,12 @@ static struct log_ref ferr_lib_warn[] = { .suggestion = "Gather log data and open an Issue. restart FRR", }, { + .code = LIB_WARN_SLOW_THREAD, + .title = "The Event subsystem has detected a slow process", + .description = "The Event subsystem has detected a slow process, this typically indicates that FRR is having trouble completing work in a timely manner. This can be either a misconfiguration, bug, or some combination therof.", + .suggestion = "Gather log data and open an Issue", + }, + { .code = END_FERR, }, }; |
