summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/pread64.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-08 20:06:30 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-08 20:06:30 +0000
commita2da1673fe32540799c801e8aec374dc1c0e0596 (patch)
treef01cfb3fd9e2fa7aaa067809b09afe2c024be294 /sysdeps/unix/sysv/linux/pread64.c
parent7f3e75f87a93265e5a9feb1ba320f4b19f29cd67 (diff)
downloadglibc-a2da1673fe32540799c801e8aec374dc1c0e0596.tar.gz
glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.tar.xz
glibc-a2da1673fe32540799c801e8aec374dc1c0e0596.zip
Remove CHECK_N and bp-checks.h.
Diffstat (limited to 'sysdeps/unix/sysv/linux/pread64.c')
-rw-r--r--sysdeps/unix/sysv/linux/pread64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/pread64.c b/sysdeps/unix/sysv/linux/pread64.c
index 36cb66b8b8..be829ce3f6 100644
--- a/sysdeps/unix/sysv/linux/pread64.c
+++ b/sysdeps/unix/sysv/linux/pread64.c
@@ -22,7 +22,6 @@
 
 #include <sysdep-cancel.h>
 #include <sys/syscall.h>
-#include <bp-checks.h>
 
 #include <kernel-features.h>
 
@@ -39,7 +38,7 @@ do_pread64 (int fd, void *buf, size_t count, off64_t offset)
 {
   ssize_t result;
 
-  result = INLINE_SYSCALL (pread, 5, fd, CHECK_N (buf, count), count,
+  result = INLINE_SYSCALL (pread, 5, fd, buf, count,
 			   __LONG_LONG_PAIR ((off_t) (offset >> 32),
 					     (off_t) (offset & 0xffffffff)));