diff options
Diffstat (limited to 'lib/frr_zmq.c')
-rw-r--r-- | lib/frr_zmq.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/frr_zmq.c b/lib/frr_zmq.c index 02d9b68bc..ef85504a7 100644 --- a/lib/frr_zmq.c +++ b/lib/frr_zmq.c @@ -141,7 +141,7 @@ static int frrzmq_read_msg(struct thread *t) return 0; out_err: - flog_err(LIB_ERR_ZMQ, "ZeroMQ read error: %s(%d)", strerror(errno), + flog_err(EC_LIB_ZMQ, "ZeroMQ read error: %s(%d)", strerror(errno), errno); if (cb->read.cb_error) cb->read.cb_error(cb->read.arg, cb->zmqsock); @@ -255,7 +255,7 @@ static int frrzmq_write_msg(struct thread *t) return 0; out_err: - flog_err(LIB_ERR_ZMQ, "ZeroMQ write error: %s(%d)", strerror(errno), + flog_err(EC_LIB_ZMQ, "ZeroMQ write error: %s(%d)", strerror(errno), errno); if (cb->write.cb_error) cb->write.cb_error(cb->write.arg, cb->zmqsock); |