From 4d4ba8bae4bac5e0fd266c22517a3f16a1006bbe Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 28 Feb 2023 10:37:18 -0300 Subject: support: use 64-bit time_t (bug 30111) Ensure to use 64-bit time_t in the test infrastructure. (cherry picked from commit 3bfdc4e2bceb601b90c81a9baa73c1904db58b2f) --- support/support_descriptor_supports_holes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support/support_descriptor_supports_holes.c') 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); -- cgit 1.4.1