From 4d97cc8cf3da925fd06fc37d4daebafce3247719 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 23 Oct 2020 16:40:06 -0300 Subject: io: Remove xstat implementations With xstat wrapper functions removed (8ed005daf0), the stat functions are now properly exported, and version is done using symbols versioning instead of the extra _STAT_* argument. Reviewed-by: Lukasz Majewski --- io/stat64.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io/stat64.c') diff --git a/io/stat64.c b/io/stat64.c index 102dcc5d5a..ea47e13754 100644 --- a/io/stat64.c +++ b/io/stat64.c @@ -17,11 +17,10 @@ #include -#undef __stat64 int __stat64 (const char *file, struct stat64 *buf) { - return __xstat64 (_STAT_VER, file, buf); + return __fstatat64 (AT_FDCWD, file, buf, 0); } hidden_def (__stat64) weak_alias (__stat64, stat64) -- cgit v1.2.3