]> git.proxmox.com Git - mirror_lxc.git/commitdiff
confile: cleanup get_config_seccomp_notify_proxy()
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 8 Dec 2020 16:19:09 +0000 (17:19 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 8 Dec 2020 16:19:09 +0000 (17:19 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/confile.c

index 0262e9ec4dc3178c1d5f7c617d86730eb424c8b3..da631f0009d1e1febc515f6219ece1b519dabc66 100644 (file)
@@ -4134,7 +4134,7 @@ static int get_config_seccomp_notify_proxy(const char *key, char *retv, int inle
                                    ? &c->seccomp.notifier.proxy_addr.sun_path[0]
                                    : &c->seccomp.notifier.proxy_addr.sun_path[1]);
 #else
-       return ret_set_errno(-1, ENOSYS);
+       return ret_errno(ENOSYS);
 #endif
 }