diff options
Diffstat (limited to 'libc/ports/sysdeps/unix/sysv/linux/mips/mips64/xstat64.c')
-rw-r--r-- | libc/ports/sysdeps/unix/sysv/linux/mips/mips64/xstat64.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/xstat64.c b/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/xstat64.c index 2408e5e37..89cde2b33 100644 --- a/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/xstat64.c +++ b/libc/ports/sysdeps/unix/sysv/linux/mips/mips64/xstat64.c @@ -23,7 +23,6 @@ #include <sysdep.h> #include <sys/syscall.h> -#include <bp-checks.h> #include <xstatconv.h> @@ -35,7 +34,7 @@ __xstat64 (int vers, const char *name, struct stat64 *buf) int result; struct kernel_stat kbuf; - result = INLINE_SYSCALL (stat, 2, CHECK_STRING (name), __ptrvalue (&kbuf)); + result = INLINE_SYSCALL (stat, 2, name, &kbuf); if (result == 0) result = __xstat64_conv (vers, &kbuf, buf); |