about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/truncate64.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-02-04 16:29:39 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-02-04 16:29:39 +0000
commit6277fdabc074afa76ad5883a4b99cdf8e75de31a (patch)
tree493a561e4b45b33ca2ead8f26137f857f07611b1 /sysdeps/unix/sysv/linux/truncate64.c
parent903ae060db90aa1d72aa67afbc5a5ecabdcdbef7 (diff)
downloadglibc-6277fdabc074afa76ad5883a4b99cdf8e75de31a.tar.gz
glibc-6277fdabc074afa76ad5883a4b99cdf8e75de31a.tar.xz
glibc-6277fdabc074afa76ad5883a4b99cdf8e75de31a.zip
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
Diffstat (limited to 'sysdeps/unix/sysv/linux/truncate64.c')
-rw-r--r--sysdeps/unix/sysv/linux/truncate64.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/truncate64.c b/sysdeps/unix/sysv/linux/truncate64.c
index 82c132782a..8c9e8488be 100644
--- a/sysdeps/unix/sysv/linux/truncate64.c
+++ b/sysdeps/unix/sysv/linux/truncate64.c
@@ -22,7 +22,6 @@
 
 #include <sysdep.h>
 #include <sys/syscall.h>
-#include <bp-checks.h>
 
 /* Truncate the file referenced by FD to LENGTH bytes.  */
 int
@@ -30,7 +29,7 @@ truncate64 (const char *path, off64_t length)
 {
   unsigned int low = length & 0xffffffff;
   unsigned int high = length >> 32;
-  int result = INLINE_SYSCALL (truncate64, 3, CHECK_STRING (path),
+  int result = INLINE_SYSCALL (truncate64, 3, path,
 			       __LONG_LONG_PAIR (high, low));
   return result;
 }