projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
117581c
)
fix bug from syscall overhaul: extra __syscall_ret call for 0-arg syscalls
author
Rich Felker
<dalias@aerifal.cx>
Tue, 29 Mar 2011 02:34:27 +0000
(22:34 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Tue, 29 Mar 2011 02:34:27 +0000
(22:34 -0400)
this mainly just caused bloat, but could corrupt errno if a 0-arg
syscall ever failed.
arch/i386/bits/syscall.h
patch
|
blob
|
history
diff --git
a/arch/i386/bits/syscall.h
b/arch/i386/bits/syscall.h
index 8693ed5ebac4880a804e2ed65d8d992fc823baaf..519e2dcd2d8e953b6d649ed0684bd36965ebc855 100644
(file)
--- a/
arch/i386/bits/syscall.h
+++ b/
arch/i386/bits/syscall.h
@@
-6,7
+6,7
@@
static inline long __syscall0(long __n)
{
unsigned long __ret;
__asm__ __volatile__ ("int $128" : "=a"(__ret) : "a"(__n) : "memory");
- return __
syscall_ret(__ret)
;
+ return __
ret
;
}
#ifndef __PIC__