From 57713139e9ab6ca670cafe7a3fc2d739bcdc370d Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 27 Jun 2003 20:26:18 +0000 Subject: Fix a couple of typos --- libc/sysdeps/linux/common/mmap64.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libc/sysdeps/linux/common/mmap64.c') diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c index 308a328bd..eaf914432 100644 --- a/libc/sysdeps/linux/common/mmap64.c +++ b/libc/sysdeps/linux/common/mmap64.c @@ -67,7 +67,7 @@ __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t #define __NR___syscall_mmap2 __NR_mmap2 static inline _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, - size_t len, int, prot, int, flags, int, fd, off_t, offset); + size_t, len, int, prot, int, flags, int, fd, off_t, offset); /* This is always 12, even on architectures where PAGE_SHIFT != 12. */ # ifndef MMAP2_PAGE_SHIFT @@ -76,7 +76,6 @@ static inline _syscall6(__ptr_t, __syscall_mmap2, __ptr_t, addr, __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t offset) { - void *result; if (offset & ((1 << MMAP2_PAGE_SHIFT) - 1)) { __set_errno (EINVAL); return MAP_FAILED; -- cgit v1.2.3