diff options
Diffstat (limited to 'libc/arch-x86/bionic/syscall.S')
-rw-r--r-- | libc/arch-x86/bionic/syscall.S | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/arch-x86/bionic/syscall.S b/libc/arch-x86/bionic/syscall.S index 4452da4..0178f41 100644 --- a/libc/arch-x86/bionic/syscall.S +++ b/libc/arch-x86/bionic/syscall.S @@ -10,8 +10,7 @@ * %ebp: arg5 - callee save */ -#include <asm/unistd.h> -#include <machine/asm.h> +#include <private/bionic_asm.h> ENTRY(syscall) # Push the callee save registers. @@ -34,7 +33,7 @@ ENTRY(syscall) int $0x80 # Error? - cmpl $-4095, %eax + cmpl $-MAX_ERRNO, %eax jb 1f # Yes, so set errno. negl %eax |