From: Christian Brauner Date: Thu, 18 Oct 2018 12:38:09 +0000 (+0200) Subject: raw_syscalls: ensure function always returns value X-Git-Tag: lxc-3.1.0~42^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4767d470df23fc51f90196d61ec3e0acdef3a5b;p=thirdparty%2Flxc.git raw_syscalls: ensure function always returns value Signed-off-by: Christian Brauner --- diff --git a/src/lxc/raw_syscalls.c b/src/lxc/raw_syscalls.c index 045de9821..c2548781d 100644 --- a/src/lxc/raw_syscalls.c +++ b/src/lxc/raw_syscalls.c @@ -20,8 +20,8 @@ int lxc_raw_execveat(int dirfd, const char *pathname, char *const argv[], syscall(__NR_execveat, dirfd, pathname, argv, envp, flags); #else errno = ENOSYS; - return -1; #endif + return -1; } /*