mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
Remove CHECK_1 and CHECK_1_NULL_OK.
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
|
||||
#include <sysdep.h>
|
||||
#include <sys/syscall.h>
|
||||
#include <bp-checks.h>
|
||||
#include <kernel-features.h>
|
||||
|
||||
#include <xstatconv.h>
|
||||
@@ -110,10 +109,10 @@ __fxstatat (int vers, int fd, const char *file, struct stat *st, int flag)
|
||||
{
|
||||
if (flag & AT_SYMLINK_NOFOLLOW)
|
||||
result = INTERNAL_SYSCALL (lstat, err, 2, file,
|
||||
CHECK_1 ((struct kernel_stat *) st));
|
||||
(struct kernel_stat *) st);
|
||||
else
|
||||
result = INTERNAL_SYSCALL (stat, err, 2, file,
|
||||
CHECK_1 ((struct kernel_stat *) st));
|
||||
(struct kernel_stat *) st);
|
||||
|
||||
if (__builtin_expect (!INTERNAL_SYSCALL_ERROR_P (result, err), 1))
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user