Selaa lähdekoodia

sparc: pipe.S

return value of pipe on success is supposed to be 0

Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Austin Foxley 14 vuotta sitten
vanhempi
commit
c50d27fa8b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      libc/sysdeps/linux/sparc/pipe.S

+ 1 - 1
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)