summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-05-15 12:05:06 +0000
committerPeter Kjellerstedt <peter.kjellerstedt@axis.com>2007-05-15 12:05:06 +0000
commitb947380b03eb3c25c1510dab0ec9f93f875835e4 (patch)
treeaccd6e2f4818ae39d2f2a3583721a67a96ca8a40 /libc/sysdeps/linux/common
parent8bd9107175852e2ec42e66404d7da1b2d23ec764 (diff)
Restored indentation.
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/mmap64.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/common/mmap64.c b/libc/sysdeps/linux/common/mmap64.c
index 3156f4350..8c0518d1d 100644
--- a/libc/sysdeps/linux/common/mmap64.c
+++ b/libc/sysdeps/linux/common/mmap64.c
@@ -58,13 +58,14 @@ __ptr_t mmap64(__ptr_t addr, size_t len, int prot, int flags, int fd, __off64_t
__set_errno(EINVAL);
return MAP_FAILED;
}
-#ifdef __USE_FILE_OFFSET64
- return __syscall_mmap2(addr, len, prot, flags,
- fd,((__u_quad_t)offset >> MMAP2_PAGE_SHIFT));
-#else
- return __syscall_mmap2(addr, len, prot, flags,
- fd,((__u_long)offset >> MMAP2_PAGE_SHIFT));
-#endif
+
+# ifdef __USE_FILE_OFFSET64
+ return __syscall_mmap2(addr, len, prot, flags,
+ fd, ((__u_quad_t) offset >> MMAP2_PAGE_SHIFT));
+# else
+ return __syscall_mmap2(addr, len, prot, flags,
+ fd, ((__u_long) offset >> MMAP2_PAGE_SHIFT));
+# endif
}
# endif