]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
confile: clr_config_net_l2proxy()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 8 Dec 2020 17:53:11 +0000 (18:53 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Wed, 9 Dec 2020 14:01:43 +0000 (15:01 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c

index 3f8c056db921ad39bdd5d3c5d291e4e785b20b83..a9759796fb419ae013365ddc65cb6ff5065202c8 100644 (file)
@@ -5249,7 +5249,7 @@ static int clr_config_net_l2proxy(const char *key, struct lxc_conf *lxc_conf,
        struct lxc_netdev *netdev = data;
 
        if (!netdev)
-               return ret_set_errno(-1, EINVAL);
+               return ret_errno(EINVAL);
 
        netdev->l2proxy = false;