about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/i386/xstat.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/i386/xstat.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/i386/xstat.c')
-rw-r--r--sysdeps/unix/sysv/linux/i386/xstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/xstat.c b/sysdeps/unix/sysv/linux/i386/xstat.c
index 4e7354aaa6..071f7fb972 100644
--- a/sysdeps/unix/sysv/linux/i386/xstat.c
+++ b/sysdeps/unix/sysv/linux/i386/xstat.c
@@ -41,12 +41,12 @@ __xstat (int vers, const char *name, struct stat *buf)
   int result;
 
   if (vers == _STAT_VER_KERNEL)
-    return INLINE_SYSCALL (stat, 2, CHECK_STRING (name), CHECK_1 ((struct kernel_stat *) buf));
+    return INLINE_SYSCALL (stat, 2, name, CHECK_1 ((struct kernel_stat *) buf));
 
   {
     struct stat64 buf64;
 
-    result = INLINE_SYSCALL (stat64, 2, CHECK_STRING (name), __ptrvalue (&buf64));
+    result = INLINE_SYSCALL (stat64, 2, name, __ptrvalue (&buf64));
     if (result == 0)
       result = __xstat32_conv (vers, &buf64, buf);
     return result;