mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-29 12:12:12 +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);
|
syscall(__NR_execveat, dirfd, pathname, argv, envp, flags);
|
||||||
#else
|
#else
|
||||||
errno = ENOSYS;
|
errno = ENOSYS;
|
||||||
return -1;
|
|
||||||
#endif
|
#endif
|
||||||
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user