about summary refs log tree commit diff
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
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.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/unix/sysv/linux/arm/mmap64.S2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 88865ea558..272f0105e1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2000-02-20  Philip Blundell  <philb@gnu.org>
+
+	* sysdeps/unix/sysv/linux/arm/mmap64.S: Fix off by one error.
+
 2000-02-20  Ulrich Drepper  <drepper@redhat.com>
 
 	* sunrpc/rpc_main.c (checkfiles): Add comment to help translators.
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