summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-09-29 01:14:07 -0400
committerRich Felker <dalias@aerifal.cx>2012-09-29 01:14:07 -0400
commitc983e6415abdc30893b2fe359a334033c59ec621 (patch)
tree324eaf2393680b4a3aa819c847249206af8393e8 /src
parent8c0a3d9e5c169fc9d0f246ab59362b658b029ad7 (diff)
downloadmusl-c983e6415abdc30893b2fe359a334033c59ec621.tar.gz
fix some indention-with-spaces that crept in
Diffstat (limited to 'src')
-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);
}