summaryrefslogtreecommitdiffstats
path: root/lib/network.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-09-13 21:34:28 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-13 21:34:28 +0200
commit450971aa994e68f7c62c4d45065223d5cfc4a22f (patch)
tree0128a1e596823272333d8a6616dd2575e8d7c46b /lib/network.c
parentzebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA (diff)
downloadfrr-450971aa994e68f7c62c4d45065223d5cfc4a22f.tar.xz
frr-450971aa994e68f7c62c4d45065223d5cfc4a22f.zip
*: LIB_[ERR|WARN] -> EC_LIB
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/network.c')
-rw-r--r--lib/network.c4
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;