From 8fbec010989a242f6eb17be837255502c459977d Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 28 Jun 2013 21:45:11 +0000 Subject: Consistently use page_shift in sysdeps/unix/sysv/linux/mmap64.c. --- sysdeps/unix/sysv/linux/mmap64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/unix/sysv/linux/mmap64.c') diff --git a/sysdeps/unix/sysv/linux/mmap64.c b/sysdeps/unix/sysv/linux/mmap64.c index 175e4abba1..e2dcdc4d9a 100644 --- a/sysdeps/unix/sysv/linux/mmap64.c +++ b/sysdeps/unix/sysv/linux/mmap64.c @@ -56,7 +56,7 @@ __mmap64 (void *addr, size_t len, int prot, int flags, int fd, off64_t offset) result = (void *) INLINE_SYSCALL (mmap2, 6, addr, len, prot, flags, fd, - (off_t) (offset >> MMAP2_PAGE_SHIFT)); + (off_t) (offset >> page_shift)); return result; } weak_alias (__mmap64, mmap64) -- cgit v1.2.1