]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/network.c
zebra, lib: fix the ZEBRA_INTERFACE_VRF_UPDATE zapi message
[mirror_frr.git] / lib / network.c
index 41bd321bcc0a9f194420ddddca27036bbe359977..411661a5e1bca1764803289f0edad2f373794acf 100644 (file)
@@ -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;