confile_utils: cleanup lxc_veth_flag_to_mode()

parent 1922f192
...@@ -502,7 +502,7 @@ char *lxc_veth_flag_to_mode(int mode) ...@@ -502,7 +502,7 @@ char *lxc_veth_flag_to_mode(int mode)
return veth_mode[i].name; return veth_mode[i].name;
} }
return NULL; return ret_set_errno(NULL, EINVAL);
} }
static struct lxc_macvlan_mode { static struct lxc_macvlan_mode {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment