diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2003-04-30 18:13:48 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2003-04-30 18:13:48 +0000 |
| commit | 0ffd54b17b068da44acdd08eefadb8dc1d28c843 (patch) | |
| tree | f179a77fc4c8dbe46ead193991bd558be276c602 /lib/libc | |
| parent | 173564016e45d92f6c9069e93e649837840404e5 (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/amd64/sys/pipe.S | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/amd64/sys/pipe.S b/lib/libc/amd64/sys/pipe.S index 99a7ff001143..87bda41f5484 100644 --- a/lib/libc/amd64/sys/pipe.S +++ b/lib/libc/amd64/sys/pipe.S @@ -43,8 +43,7 @@ __FBSDID("$FreeBSD$"); #include "SYS.h" SYSCALL(pipe) - movl 4(%esp),%ecx - movl %eax,(%ecx) - movl %edx,4(%ecx) - movl $0,%eax + movl %eax,(%rdi) /* %rdi is preserved by syscall */ + movl %edx,4(%rdi) + movq $0,%rax ret |
