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