From 4e61b19d62ea7e9d4d2c11b863701b75e24c6ad9 Mon Sep 17 00:00:00 2001 From: Thomas Parrott Date: Tue, 9 Jun 2020 12:01:41 +0100 Subject: [PATCH] confile: Fix coverity issue, missing return in get_config_net_veth_vlan_tagged_id Signed-off-by: Thomas Parrott --- 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 3ee2e8847..68403e65e 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -5906,7 +5906,7 @@ static int get_config_net_veth_vlan_tagged_id(const char *key, char *retv, int i struct lxc_netdev *netdev = data; if (!netdev) - ret_errno(EINVAL); + return ret_errno(EINVAL); if (netdev->type != LXC_NET_VETH) return 0; -- 2.47.2