about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-02-20 18:05:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-02-20 18:05:29 +0000
commitbeef95268f80b494a52a92d33d1b1df154fb3fe3 (patch)
treeab24feeccdcf62604f2f66ade743131708b4c484 /sysdeps
parentad8d58c1fc41c3c9cba9fda41dfc401b333c71cf (diff)
downloadglibc-beef95268f80b494a52a92d33d1b1df154fb3fe3.tar.gz
glibc-beef95268f80b494a52a92d33d1b1df154fb3fe3.tar.xz
glibc-beef95268f80b494a52a92d33d1b1df154fb3fe3.zip
Update.
2000-02-20  Philip Blundell  <philb@gnu.org>

	* sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/arm/mmap64.S2
1 files changed, 1 insertions, 1 deletions
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