From: Christian Brauner Date: Tue, 8 Dec 2020 16:25:31 +0000 (+0100) Subject: confile: cleanup clr_config_seccomp_allow_nesting() X-Git-Tag: lxc-5.0.0~330^2~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a6980fe59dcb1d4de4c6d767888da38d3bcd032;p=thirdparty%2Flxc.git confile: cleanup clr_config_seccomp_allow_nesting() Signed-off-by: Christian Brauner --- diff --git a/src/lxc/confile.c b/src/lxc/confile.c index 355e97c14..80a0916e0 100644 --- a/src/lxc/confile.c +++ b/src/lxc/confile.c @@ -4805,8 +4805,7 @@ static inline int clr_config_seccomp_allow_nesting(const char *key, c->seccomp.allow_nesting = 0; return 0; #else - errno = ENOSYS; - return -1; + return ret_errno(ENOSYS); #endif }