mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-05 06:19:25 +00:00
Fix previous change to use defined()
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
92e23841a2
commit
a1258e6dae
@ -56,7 +56,7 @@ static inline int setns(int fd, int nstype)
|
||||
{
|
||||
#ifdef __NR_setns
|
||||
return syscall(__NR_setns, fd, nstype);
|
||||
#elif __NR_set_ns
|
||||
#elif defined(__NR_set_ns)
|
||||
return syscall(__NR_set_ns, fd, nstype);
|
||||
#else
|
||||
errno = ENOSYS;
|
||||
|
Loading…
Reference in New Issue
Block a user