diff options
author | Andreas Schwab <schwab@suse.de> | 2023-02-28 10:37:18 -0300 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2023-03-02 13:01:32 +0100 |
commit | 3bfdc4e2bceb601b90c81a9baa73c1904db58b2f (patch) | |
tree | 74ddef81f5852da0e0365fc81845577fe0163f82 /support/support_can_chroot.c | |
parent | db9c1007494fa2fda1b6e076dc24af65267f01c0 (diff) | |
download | glibc-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_can_chroot.c')
-rw-r--r-- | support/support_can_chroot.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/support_can_chroot.c b/support/support_can_chroot.c index 7d9f91205d..7b4f491b53 100644 --- a/support/support_can_chroot.c +++ b/support/support_can_chroot.c @@ -29,14 +29,14 @@ static void callback (void *closure) { int *result = closure; - struct stat64 before; + struct stat before; xstat ("/dev", &before); if (chroot ("/dev") != 0) { *result = errno; return; } - struct stat64 after; + struct stat after; xstat ("/", &after); TEST_VERIFY (before.st_dev == after.st_dev); TEST_VERIFY (before.st_ino == after.st_ino); |