diff options
Diffstat (limited to 'posix/tst-execveat.c')
-rw-r--r-- | posix/tst-execveat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/tst-execveat.c b/posix/tst-execveat.c index 4565d6b19f..dde034a9f1 100644 --- a/posix/tst-execveat.c +++ b/posix/tst-execveat.c @@ -155,7 +155,7 @@ do_test (void) tmp_sh = xasprintf ("%s/tmp_sh", tmp_dir); add_temp_file (tmp_sh); fd_out = xopen (symlink_name, O_CREAT | O_WRONLY, 0); - xstat ("/bin/sh", &st); + xstat64 ("/bin/sh", &st); fd = xopen ("/bin/sh", O_RDONLY, 0); xcopy_file_range (fd, 0, fd_out, 0, st.st_size, 0); xfchmod (fd_out, 0700); |