[git commit 0.9.31 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=1916e2b703cc902b28e958540d9407a23e7bac70
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/0.9.31

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