diff options
Diffstat (limited to 'lib/network.c')
-rw-r--r-- | lib/network.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network.c b/lib/network.c index 41bd321bc..411661a5e 100644 --- a/lib/network.c +++ b/lib/network.c @@ -79,13 +79,13 @@ int set_nonblocking(int fd) should never be negative. */ if ((flags = fcntl(fd, F_GETFL)) < 0) { - flog_err(LIB_ERR_SYSTEM_CALL, + flog_err(EC_LIB_SYSTEM_CALL, "fcntl(F_GETFL) failed for fd %d: %s", fd, safe_strerror(errno)); return -1; } if (fcntl(fd, F_SETFL, (flags | O_NONBLOCK)) < 0) { - flog_err(LIB_ERR_SYSTEM_CALL, + flog_err(EC_LIB_SYSTEM_CALL, "fcntl failed setting fd %d non-blocking: %s", fd, safe_strerror(errno)); return -1; |