mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 10:51:24 +00:00
Merge pull request #2701 from brauner/2018-10-18/fix_raw_syscalls
raw_syscalls: ensure function always returns value
This commit is contained in:
commit
38e76fbb94
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user