diff options
author | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:38:57 +0200 |
---|---|---|
committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-13 21:38:57 +0200 |
commit | 1c50c1c0d683ebfa53c1607c71b8d26547e8f218 (patch) | |
tree | 0dbb03af253cdcb0abeacaf6a860a4c7600359c5 /lib/netns_linux.c | |
parent | *: LIB_[ERR|WARN] -> EC_LIB (diff) | |
download | frr-1c50c1c0d683ebfa53c1607c71b8d26547e8f218.tar.xz frr-1c50c1c0d683ebfa53c1607c71b8d26547e8f218.zip |
*: style for EC replacements
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/netns_linux.c')
-rw-r--r-- | lib/netns_linux.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/netns_linux.c b/lib/netns_linux.c index d113426be..ef2f5dc95 100644 --- a/lib/netns_linux.c +++ b/lib/netns_linux.c @@ -228,8 +228,8 @@ static int ns_enable_internal(struct ns *ns, void (*func)(ns_id_t, void *)) /* Non default NS. leave */ if (ns->ns_id == NS_UNKNOWN) { flog_err(EC_LIB_NS, - "Can not enable NS %s %u: Invalid NSID", - ns->name, ns->ns_id); + "Can not enable NS %s %u: Invalid NSID", + ns->name, ns->ns_id); return 0; } if (func) @@ -488,7 +488,7 @@ void ns_init_management(ns_id_t default_ns_id, ns_id_t internal_ns) default_ns = ns_get_created_internal(NULL, NULL, default_ns_id); if (!default_ns) { flog_err(EC_LIB_NS, "%s: failed to create the default NS!", - __func__); + __func__); exit(1); } if (have_netns()) { @@ -506,7 +506,7 @@ void ns_init_management(ns_id_t default_ns_id, ns_id_t internal_ns) /* Enable the default NS. */ if (!ns_enable(default_ns, NULL)) { flog_err(EC_LIB_NS, "%s: failed to enable the default NS!", - __func__); + __func__); exit(1); } } |