/* 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)
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()) {
/* 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);
}
}