[git commit master 1/1] sparc: pipe.S
Austin Foxley
austinf at cetoncorp.com
Fri Oct 1 23:06:23 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=c50d27fa8b1f62ebf9853a641dcf38a90ed33d38
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
return value of pipe on success is supposed to be 0
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
libc/sysdeps/linux/sparc/pipe.S | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libc/sysdeps/linux/sparc/pipe.S b/libc/sysdeps/linux/sparc/pipe.S
index 76a5b96..94913d4 100644
--- a/libc/sysdeps/linux/sparc/pipe.S
+++ b/libc/sysdeps/linux/sparc/pipe.S
@@ -49,7 +49,7 @@ pipe:
st %o0,[%i0]
st %o1,[%i0+4]
ret
- restore %o0,%g0,%o0
+ restore %g0,%g0,%o0
.Lerror:
call HIDDEN_JUMPTARGET(__errno_location)
--
1.7.1
More information about the uClibc-cvs
mailing list