diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:21:05 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:23:29 +0200 |
commit | e914ccbe9cfb45bbb0ce61bb496e27df6b6136ba (patch) | |
tree | 0cb5b71e277a706f708cdaff0c8aaa2deefa319f /zebra/if_sysctl.c | |
parent | watchfrr: WATCHFRR_[ERR|WARN] -> EC_WATCHFRR (diff) | |
download | frr-e914ccbe9cfb45bbb0ce61bb496e27df6b6136ba.tar.xz frr-e914ccbe9cfb45bbb0ce61bb496e27df6b6136ba.zip |
zebra: ZEBRA_[ERR|WARN] -> EC_ZEBRA
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'zebra/if_sysctl.c')
-rw-r--r-- | zebra/if_sysctl.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/zebra/if_sysctl.c b/zebra/if_sysctl.c index df0831a9f..3f918c361 100644 --- a/zebra/if_sysctl.c +++ b/zebra/if_sysctl.c @@ -53,7 +53,7 @@ void ifstat_update_sysctl(void) /* Query buffer size. */ if (sysctl(mib, MIBSIZ, NULL, &bufsiz, NULL, 0) < 0) { - flog_warn(ZEBRA_ERR_SYSCTL_FAILED, "sysctl() error by %s", + flog_warn(EC_ZEBRA_SYSCTL_FAILED, "sysctl() error by %s", safe_strerror(errno)); return; } @@ -63,7 +63,7 @@ void ifstat_update_sysctl(void) /* Fetch interface informations into allocated buffer. */ if (sysctl(mib, MIBSIZ, buf, &bufsiz, NULL, 0) < 0) { - flog_warn(ZEBRA_ERR_SYSCTL_FAILED, "sysctl error by %s", + flog_warn(EC_ZEBRA_SYSCTL_FAILED, "sysctl error by %s", safe_strerror(errno)); XFREE(MTYPE_TMP, ref); return; @@ -104,7 +104,7 @@ void interface_list(struct zebra_ns *zns) /* Query buffer size. */ if (sysctl(mib, MIBSIZ, NULL, &bufsiz, NULL, 0) < 0) { - flog_err_sys(ZEBRA_ERR_IFLIST_FAILED, + flog_err_sys(EC_ZEBRA_IFLIST_FAILED, "Could not enumerate interfaces: %s", safe_strerror(errno)); return; @@ -115,7 +115,7 @@ void interface_list(struct zebra_ns *zns) /* Fetch interface informations into allocated buffer. */ if (sysctl(mib, MIBSIZ, buf, &bufsiz, NULL, 0) < 0) { - flog_err_sys(ZEBRA_ERR_IFLIST_FAILED, + flog_err_sys(EC_ZEBRA_IFLIST_FAILED, "Could not enumerate interfaces: %s", safe_strerror(errno)); return; |