summaryrefslogtreecommitdiff
path: root/test/nptl/tst-umask1.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/nptl/tst-umask1.c')
-rw-r--r--test/nptl/tst-umask1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/nptl/tst-umask1.c b/test/nptl/tst-umask1.c
index d64a8be3d..4bbf6d0d7 100644
--- a/test/nptl/tst-umask1.c
+++ b/test/nptl/tst-umask1.c
@@ -56,8 +56,8 @@ work (const char *fname, int mask)
}
if (fcts[i].is_fd)
close (fd);
- struct stat64 st;
- if (stat64 (fname, &st) == -1)
+ struct stat st;
+ if (stat (fname, &st) == -1)
{
printf ("cannot stat %s after %s: %m\n", fname, fcts[i].name);
exit (1);