提交 c983e641 编写于 作者: R Rich Felker

fix some indention-with-spaces that crept in

上级 8c0a3d9e
......@@ -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);
}
......@@ -5,5 +5,5 @@
int setns(int fd, int nstype)
{
return syscall(SYS_setns, fd, nstype);
return syscall(SYS_setns, fd, nstype);
}
......@@ -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
......@@ -5,5 +5,5 @@
int acct(const char *filename)
{
return syscall(SYS_acct, filename);
return syscall(SYS_acct, filename);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册