Merge pull request #2701 from brauner/2018-10-18/fix_raw_syscalls

raw_syscalls: ensure function always returns value
This commit is contained in:
Wolfgang Bumiller 2018-10-18 15:08:42 +02:00 committed by GitHub
commit 38e76fbb94
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
/*