diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-02-04 16:29:39 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-02-04 16:29:39 +0000 |
commit | 6277fdabc074afa76ad5883a4b99cdf8e75de31a (patch) | |
tree | 493a561e4b45b33ca2ead8f26137f857f07611b1 /sysdeps/unix/sysv/linux/xstat.c | |
parent | 903ae060db90aa1d72aa67afbc5a5ecabdcdbef7 (diff) | |
download | glibc-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/xstat.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/xstat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/xstat.c b/sysdeps/unix/sysv/linux/xstat.c index 07fbcd08e8..2cdceb5a09 100644 --- a/sysdeps/unix/sysv/linux/xstat.c +++ b/sysdeps/unix/sysv/linux/xstat.c @@ -36,7 +36,7 @@ int __xstat (int vers, const char *name, struct stat *buf) { if (vers == _STAT_VER_KERNEL) - return INLINE_SYSCALL (stat, 2, CHECK_STRING (name), + return INLINE_SYSCALL (stat, 2, name, CHECK_1 ((struct kernel_stat *) buf)); #ifdef STAT_IS_KERNEL_STAT @@ -46,8 +46,7 @@ __xstat (int vers, const char *name, struct stat *buf) struct kernel_stat kbuf; int result; - result = INLINE_SYSCALL (stat, 2, CHECK_STRING (name), - __ptrvalue (&kbuf)); + result = INLINE_SYSCALL (stat, 2, name, __ptrvalue (&kbuf)); if (result == 0) result = __xstat_conv (vers, &kbuf, buf); |