diff options
Diffstat (limited to 'libc/arch-x86/syscalls/getuid.S')
-rw-r--r-- | libc/arch-x86/syscalls/getuid.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/arch-x86/syscalls/getuid.S b/libc/arch-x86/syscalls/getuid.S index e82b8b011..9aa8bc6ac 100644 --- a/libc/arch-x86/syscalls/getuid.S +++ b/libc/arch-x86/syscalls/getuid.S @@ -1,11 +1,12 @@ /* autogenerated by gensyscalls.py */ +#include <linux/err.h> #include <machine/asm.h> #include <sys/linux-syscalls.h> ENTRY(getuid) movl $__NR_getuid32, %eax int $0x80 - cmpl $-129, %eax + cmpl $-MAX_ERRNO, %eax jb 1f negl %eax pushl %eax |