diff options
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/dup3.c | 6 | ||||
-rw-r--r-- | src/linux/setns.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/linux/dup3.c b/src/linux/dup3.c index e201ef01..18f6fcce 100644 --- a/src/linux/dup3.c +++ b/src/linux/dup3.c @@ -4,7 +4,7 @@ #include "syscall.h" int dup3(int old, int new, int flags) { - int r; - while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY); - return __syscall_ret(r); + int r; + while ((r=__syscall(SYS_dup3, old, new, flags))==-EBUSY); + return __syscall_ret(r); } diff --git a/src/linux/setns.c b/src/linux/setns.c index af3eb092..7029b748 100644 --- a/src/linux/setns.c +++ b/src/linux/setns.c @@ -5,5 +5,5 @@ int setns(int fd, int nstype) { - return syscall(SYS_setns, fd, nstype); + return syscall(SYS_setns, fd, nstype); } |