076f82
commit 61fd3e0e7495f597b41e90d3e045b8c3b182a23d
076f82
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
076f82
Date:   Tue May 31 12:28:20 2022 -0300
076f82
076f82
    socket: Use 64 bit stat for isfdtype (BZ# 29209)
076f82
    
076f82
    This is a missing spot initially from 52a5fe70a2c77935.
076f82
    
076f82
    Checked on i686-linux-gnu.
076f82
    
076f82
    (cherry picked from commit 87f1ec12e79a3895b33801fa816884f0d24ae7ef)
076f82
076f82
diff --git a/sysdeps/posix/isfdtype.c b/sysdeps/posix/isfdtype.c
076f82
index 06b5386c4379063d..f18bcfef224ebac6 100644
076f82
--- a/sysdeps/posix/isfdtype.c
076f82
+++ b/sysdeps/posix/isfdtype.c
076f82
@@ -24,12 +24,12 @@
076f82
 int
076f82
 isfdtype (int fildes, int fdtype)
076f82
 {
076f82
-  struct stat64 st;
076f82
+  struct __stat64_t64 st;
076f82
   int result;
076f82
 
076f82
   {
076f82
     int save_error = errno;
076f82
-    result = __fstat64 (fildes, &st);
076f82
+    result = __fstat64_time64 (fildes, &st);
076f82
     __set_errno (save_error);
076f82
   }
076f82