about summary refs log tree commit diff
path: root/support/support_descriptor_supports_holes.c
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2023-02-28 10:37:18 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-03-12 15:25:59 -0300
commit4d4ba8bae4bac5e0fd266c22517a3f16a1006bbe (patch)
tree613859496f5ced206a9af32a4da82670bf667b43 /support/support_descriptor_supports_holes.c
parent8e99cc76a26a88589aaa4e54c1ae48fa27be26b7 (diff)
downloadglibc-4d4ba8bae4bac5e0fd266c22517a3f16a1006bbe.tar.gz
glibc-4d4ba8bae4bac5e0fd266c22517a3f16a1006bbe.tar.xz
glibc-4d4ba8bae4bac5e0fd266c22517a3f16a1006bbe.zip
support: use 64-bit time_t (bug 30111)
Ensure to use 64-bit time_t in the test infrastructure.

(cherry picked from commit 3bfdc4e2bceb601b90c81a9baa73c1904db58b2f)
Diffstat (limited to 'support/support_descriptor_supports_holes.c')
-rw-r--r--support/support_descriptor_supports_holes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/support/support_descriptor_supports_holes.c b/support/support_descriptor_supports_holes.c
index d9bcade1cf..83f02f7cf6 100644
--- a/support/support_descriptor_supports_holes.c
+++ b/support/support_descriptor_supports_holes.c
@@ -40,7 +40,7 @@ support_descriptor_supports_holes (int fd)
       block_headroom = 32,
     };
 
-  struct stat64 st;
+  struct stat st;
   xfstat (fd, &st);
   if (!S_ISREG (st.st_mode))
     FAIL_EXIT1 ("descriptor %d does not refer to a regular file", fd);