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
committerAndreas Schwab <schwab@suse.de>2023-03-02 13:01:32 +0100
commit3bfdc4e2bceb601b90c81a9baa73c1904db58b2f (patch)
tree74ddef81f5852da0e0365fc81845577fe0163f82 /support/support_descriptor_supports_holes.c
parentdb9c1007494fa2fda1b6e076dc24af65267f01c0 (diff)
downloadglibc-3bfdc4e2bceb601b90c81a9baa73c1904db58b2f.tar.gz
glibc-3bfdc4e2bceb601b90c81a9baa73c1904db58b2f.tar.xz
glibc-3bfdc4e2bceb601b90c81a9baa73c1904db58b2f.zip
support: use 64-bit time_t (bug 30111)
Ensure to use 64-bit time_t in the test infrastructure.
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 7af5934808..91db216bf0 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);