diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-03-28 22:34:27 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-03-28 22:34:27 -0400 |
commit | 4cc78719dd22a685ddd89b92ac3bfc308c4c19b3 (patch) | |
tree | 5d3d4389c89c46bf6c7f26f06335dce629285123 /arch/i386/bits/syscall.h | |
parent | 117581ca69ec2a9c341390eed353646b47a512df (diff) | |
download | musl-4cc78719dd22a685ddd89b92ac3bfc308c4c19b3.tar.gz |
fix bug from syscall overhaul: extra __syscall_ret call for 0-arg syscalls
this mainly just caused bloat, but could corrupt errno if a 0-arg
syscall ever failed.
Diffstat (limited to 'arch/i386/bits/syscall.h')
-rw-r--r-- | arch/i386/bits/syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/bits/syscall.h b/arch/i386/bits/syscall.h index 8693ed5e..519e2dcd 100644 --- 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__ |