summaryrefslogtreecommitdiffstats
path: root/lib/netns_linux.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2018-08-06 18:36:50 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-08-14 22:02:05 +0200
commit09c866e34dd6f1725ff5a2354017c13485c2c755 (patch)
tree5dd5e6484250d6388453ace46240d210af30df36 /lib/netns_linux.c
parent*: rename ferr_ref -> log_ref (diff)
downloadfrr-09c866e34dd6f1725ff5a2354017c13485c2c755.tar.xz
frr-09c866e34dd6f1725ff5a2354017c13485c2c755.zip
*: rename ferr_zlog -> flog_err_sys
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/netns_linux.c')
-rw-r--r--lib/netns_linux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/netns_linux.c b/lib/netns_linux.c
index 61ae45008..b8eaa72c2 100644
--- a/lib/netns_linux.c
+++ b/lib/netns_linux.c
@@ -219,9 +219,9 @@ static int ns_enable_internal(struct ns *ns, void (*func)(ns_id_t, void *))
}
if (!ns_is_enabled(ns)) {
- flog_err(LIB_ERR_SYSTEM_CALL,
- "Can not enable NS %u: %s!", ns->ns_id,
- safe_strerror(errno));
+ flog_err_sys(LIB_ERR_SYSTEM_CALL,
+ "Can not enable NS %u: %s!", ns->ns_id,
+ safe_strerror(errno));
return 0;
}