fix bug from syscall overhaul: extra __syscall_ret call for 0-arg syscalls
[musl] / arch / i386 / bits / syscall.h
index 8693ed5..519e2dc 100644 (file)
@@ -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__