summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-10-01 16:06:23 -0700
committerAustin Foxley <austinf@cetoncorp.com>2010-10-01 16:06:23 -0700
commitc50d27fa8b1f62ebf9853a641dcf38a90ed33d38 (patch)
tree1494e9c819cfb6f8aab820a734630b768b2dab31 /libc/sysdeps/linux
parent74407db52d3953c7f3c6b8a53661cfc96cb07e22 (diff)
sparc: pipe.S
return value of pipe on success is supposed to be 0 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/sparc/pipe.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/sparc/pipe.S b/libc/sysdeps/linux/sparc/pipe.S
index 76a5b9617..94913d486 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)