about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/linux/dup3.c6
-rw-r--r--src/linux/setns.c2
-rw-r--r--src/thread/x86_64/__set_thread_area.s8
-rw-r--r--src/unistd/acct.c2
4 files changed, 9 insertions, 9 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);
 }
diff --git a/src/thread/x86_64/__set_thread_area.s b/src/thread/x86_64/__set_thread_area.s
index cc538e52..f3ff4f61 100644
--- a/src/thread/x86_64/__set_thread_area.s
+++ b/src/thread/x86_64/__set_thread_area.s
@@ -3,8 +3,8 @@
 .global __set_thread_area
 .type __set_thread_area,@function
 __set_thread_area:
-        mov %rdi,%rsi           /* shift for syscall */
-        movl $0x1002,%edi       /* SET_FS register */
-        movl $158,%eax          /* set fs segment to */
-        syscall                 /* arch_prctl(SET_FS, arg)*/
+	mov %rdi,%rsi           /* shift for syscall */
+	movl $0x1002,%edi       /* SET_FS register */
+	movl $158,%eax          /* set fs segment to */
+	syscall                 /* arch_prctl(SET_FS, arg)*/
 	ret
diff --git a/src/unistd/acct.c b/src/unistd/acct.c
index 93847127..f6f25a8a 100644
--- a/src/unistd/acct.c
+++ b/src/unistd/acct.c
@@ -5,5 +5,5 @@
 
 int acct(const char *filename)
 {
-        return syscall(SYS_acct, filename);
+	return syscall(SYS_acct, filename);
 }