diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-06 18:36:50 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-08-14 22:02:05 +0200 |
commit | 09c866e34dd6f1725ff5a2354017c13485c2c755 (patch) | |
tree | 5dd5e6484250d6388453ace46240d210af30df36 /babeld/babeld.c | |
parent | *: rename ferr_ref -> log_ref (diff) | |
download | frr-09c866e34dd6f1725ff5a2354017c13485c2c755.tar.xz frr-09c866e34dd6f1725ff5a2354017c13485c2c755.zip |
*: rename ferr_zlog -> flog_err_sys
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'babeld/babeld.c')
-rw-r--r-- | babeld/babeld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/babeld/babeld.c b/babeld/babeld.c index b05f26919..54692cdf2 100644 --- a/babeld/babeld.c +++ b/babeld/babeld.c @@ -145,7 +145,7 @@ babel_create_routing_process (void) /* Make socket for Babel protocol. */ protocol_socket = babel_socket(protocol_port); if (protocol_socket < 0) { - flog_err(LIB_ERR_SOCKET, "Couldn't create link local socket: %s", + flog_err_sys(LIB_ERR_SOCKET, "Couldn't create link local socket: %s", safe_strerror(errno)); goto fail; } @@ -179,7 +179,7 @@ babel_read_protocol (struct thread *thread) (struct sockaddr*)&sin6, sizeof(sin6)); if(rc < 0) { if(errno != EAGAIN && errno != EINTR) { - flog_err(LIB_ERR_SOCKET, "recv: %s", safe_strerror(errno)); + flog_err_sys(LIB_ERR_SOCKET, "recv: %s", safe_strerror(errno)); } } else { FOR_ALL_INTERFACES(vrf, ifp) { |