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 /zebra/kernel_socket.c | |
| parent | e914ccbe9cfb45bbb0ce61bb496e27df6b6136ba (diff) | |
*: LIB_[ERR|WARN] -> EC_LIB
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/kernel_socket.c')
| -rw-r--r-- | zebra/kernel_socket.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index 380b0ade14..a0624413ee 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -1252,7 +1252,7 @@ int rtm_write(int message, union sockunion *dest, union sockunion *mask, if (errno == ESRCH) return ZEBRA_ERR_RTNOEXIST; - flog_err_sys(LIB_ERR_SOCKET, "%s: write : %s (%d)", __func__, + flog_err_sys(EC_LIB_SOCKET, "%s: write : %s (%d)", __func__, safe_strerror(errno), errno); return ZEBRA_ERR_KERNEL; } @@ -1335,7 +1335,7 @@ static int kernel_read(struct thread *thread) if (nbytes <= 0) { if (nbytes < 0 && errno != EWOULDBLOCK && errno != EAGAIN) - flog_err_sys(LIB_ERR_SOCKET, "routing socket error: %s", + flog_err_sys(EC_LIB_SOCKET, "routing socket error: %s", safe_strerror(errno)); return 0; } @@ -1392,7 +1392,7 @@ static void routing_socket(struct zebra_ns *zns) } if (routing_sock < 0) { - flog_err_sys(LIB_ERR_SOCKET, + flog_err_sys(EC_LIB_SOCKET, "Can't init kernel routing socket"); return; } |
