mirror of
git://git.musl-libc.org/musl
synced 2024-12-15 03:05:15 +00:00
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.
This commit is contained in:
parent
117581ca69
commit
4cc78719dd
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user