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