confile_utils: cleanup lxc_veth_flag_to_mode()

parent 9e75cf7a
...@@ -517,7 +517,7 @@ char *lxc_veth_flag_to_mode(int mode) ...@@ -517,7 +517,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