summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/pipe.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/sparc/pipe.S')
-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)