]> sourceware.org Git - glibc.git/blobdiff - sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
[glibc.git] / sysdeps / unix / sysv / linux / powerpc / powerpc32 / truncate64.c
index 3146dde71f414a9519c92c7df195841fe25cc279..c018cecdbce5b3ffc6ad4ad36e2203f6893a8598 100644 (file)
@@ -21,7 +21,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 (path, length)
      off64_t length;
 {
   /* On PPC32 64bit values are aligned in odd/even register pairs.  */
-  int result = INLINE_SYSCALL (truncate64, 4, CHECK_STRING (path), 0,
+  int result = INLINE_SYSCALL (truncate64, 4, path, 0,
                               (long) (length >> 32),
                               (long) length);
   return result;
This page took 0.027113 seconds and 5 git commands to generate.