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