about summary refs log tree commit diff
path: root/stdio-common/tst-renameat2.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/tst-renameat2.c')
-rw-r--r--stdio-common/tst-renameat2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/tst-renameat2.c b/stdio-common/tst-renameat2.c
index b65afed75e..7f4345f716 100644
--- a/stdio-common/tst-renameat2.c
+++ b/stdio-common/tst-renameat2.c
@@ -82,7 +82,7 @@ static void
 check_size (const char *path, off64_t expected_size)
 {
   struct stat64 st;
-  xstat (path, &st);
+  xstat64 (path, &st);
   if (st.st_size != expected_size)
     FAIL_EXIT1 ("file \"%s\": expected size %lld, actual size %lld",
                 path, (unsigned long long int) expected_size,