From: Christian Brauner Date: Tue, 8 Dec 2020 17:53:44 +0000 (+0100) Subject: confile: cleanup clr_config_net_ipvlan_mode() X-Git-Tag: lxc-5.0.0~330^2~86 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6288bd577914fd9687fdeadd14404ba29bf85963;p=thirdparty%2Flxc.git confile: cleanup clr_config_net_ipvlan_mode() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index cf91dbdd1..9ddf2cf48 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -5278,7 +5278,7 @@ static int clr_config_net_ipvlan_mode(const char *key, struct lxc_netdev *netdev = data; if (!netdev) - return ret_set_errno(-1, EINVAL); + return ret_errno(EINVAL); if (netdev->type != LXC_NET_IPVLAN) return 0;