about summary refs log tree commit diff
path: root/io/tst-copy_file_range.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/tst-copy_file_range.c')
-rw-r--r--io/tst-copy_file_range.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/tst-copy_file_range.c b/io/tst-copy_file_range.c
index 9837b7c339..3d7b0aa901 100644
--- a/io/tst-copy_file_range.c
+++ b/io/tst-copy_file_range.c
@@ -117,7 +117,7 @@ simple_file_copy (void)
     TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 6 + length);
 
   struct stat64 st;
-  xfstat (outfd, &st);
+  xfstat64 (outfd, &st);
   if (length > 0)
     TEST_COMPARE (st.st_size, out_skipped + length);
   else