From 574b0730357c3a20d73582de8112cab0b3f3e151 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 20 Feb 2000 17:58:12 +0000 Subject: [PATCH] Fix off by one error. --- sysdeps/unix/sysv/linux/arm/mmap64.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/arm/mmap64.S b/sysdeps/unix/sysv/linux/arm/mmap64.S index 904c56404d..57b1d8ace2 100644 --- a/sysdeps/unix/sysv/linux/arm/mmap64.S +++ b/sysdeps/unix/sysv/linux/arm/mmap64.S @@ -39,7 +39,7 @@ ENTRY (__mmap64) swi SYS_ify (mmap2) cmn r0, $4096 LOADREGS(ccfd, sp!, {r4, r5, pc}) - cmn r0, $(ENOSYS - 1) + cmn r0, $ENOSYS ldmnefd sp!, {r4, r5, lr} bne PLTJMP(syscall_error) /* The current kernel does not support mmap2. Fall back to plain