diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 19:34:28 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 19:34:28 +0000 |
| commit | 450971aa994e68f7c62c4d45065223d5cfc4a22f (patch) | |
| tree | 0128a1e596823272333d8a6616dd2575e8d7c46b /lib/thread.c | |
| parent | e914ccbe9cfb45bbb0ce61bb496e27df6b6136ba (diff) | |
*: LIB_[ERR|WARN] -> EC_LIB
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/thread.c')
| -rw-r--r-- | lib/thread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/thread.c b/lib/thread.c index b2740baf5d..2c3db27c7b 100644 --- a/lib/thread.c +++ b/lib/thread.c @@ -1481,7 +1481,7 @@ struct thread *thread_fetch(struct thread_master *m, struct thread *fetch) } /* else die */ - flog_err(LIB_ERR_SYSTEM_CALL, "poll() error: %s", + flog_err(EC_LIB_SYSTEM_CALL, "poll() error: %s", safe_strerror(errno)); pthread_mutex_unlock(&m->mtx); fetch = NULL; @@ -1620,7 +1620,7 @@ void thread_call(struct thread *thread) * to fix. */ flog_warn( - LIB_WARN_SLOW_THREAD, + EC_LIB_SLOW_THREAD, "SLOW THREAD: task %s (%lx) ran for %lums (cpu time %lums)", thread->funcname, (unsigned long)thread->func, realtime / 1000, cputime / 1000); |
