confile: cleanup clr_config_net_veth_pair()

parent 7e86d9e0
...@@ -4966,7 +4966,7 @@ static int clr_config_net_veth_pair(const char *key, struct lxc_conf *lxc_conf, ...@@ -4966,7 +4966,7 @@ static int clr_config_net_veth_pair(const char *key, struct lxc_conf *lxc_conf,
struct lxc_netdev *netdev = data; struct lxc_netdev *netdev = data;
if (!netdev) if (!netdev)
return -1; return ret_errno(EINVAL);
netdev->priv.veth_attr.pair[0] = '\0'; netdev->priv.veth_attr.pair[0] = '\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