From 2b592308fba7885f1bec8c3babf77079768db630 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Tue, 8 Dec 2020 18:58:25 +0100 Subject: [PATCH] confile: cleanup clr_config_net_ipv6_address() Signed-off-by: Christian Brauner --- src/lxc/confile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lxc/confile.c b/src/lxc/confile.c index cf199c986..487e59f23 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -5499,7 +5499,7 @@ static int clr_config_net_ipv6_address(const char *key, struct lxc_list *cur, *next; if (!netdev) - return -1; + return ret_errno(EINVAL); lxc_list_for_each_safe(cur, &netdev->ipv6, next) { lxc_list_del(cur); -- 2.47.2