提交 4cc78719 编写于 作者: R Rich Felker

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.
上级 117581ca
......@@ -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__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册