summaryrefslogtreecommitdiff
path: root/libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c')
-rw-r--r--libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c b/libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c
index b9b533d30..1fa2280c2 100644
--- a/libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c
+++ b/libc/sysdeps/unix/sysv/linux/wordsize-64/xstat.c
@@ -26,14 +26,13 @@
#include <sysdep.h>
#include <sys/syscall.h>
-#include <bp-checks.h>
/* Get information about the file NAME in BUF. */
int
__xstat (int vers, const char *name, struct stat *buf)
{
if (vers == _STAT_VER_KERNEL || vers == _STAT_VER_LINUX)
- return INLINE_SYSCALL (stat, 2, name, CHECK_1 (buf));
+ return INLINE_SYSCALL (stat, 2, name, buf);
__set_errno (EINVAL);
return -1;