confile: cleanup get_config_net_macvlan_mode()

parent 676a9c57
...@@ -5264,7 +5264,7 @@ static int get_config_net_macvlan_mode(const char *key, char *retv, int inlen, ...@@ -5264,7 +5264,7 @@ static int get_config_net_macvlan_mode(const char *key, char *retv, int inlen,
memset(retv, 0, inlen); memset(retv, 0, inlen);
if (!netdev) if (!netdev)
return -1; return ret_errno(EINVAL);
if (netdev->type != LXC_NET_MACVLAN) if (netdev->type != LXC_NET_MACVLAN)
return 0; return 0;
......
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