summaryrefslogtreecommitdiffstats
path: root/tests/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs')
-rw-r--r--tests/bugs/bug-808400-fcntl.c4
-rw-r--r--tests/bugs/bug-808400-flock.c4
-rw-r--r--tests/bugs/bug-858242.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/tests/bugs/bug-808400-fcntl.c b/tests/bugs/bug-808400-fcntl.c
index 36e6cf035eb..4deef34a532 100644
--- a/tests/bugs/bug-808400-fcntl.c
+++ b/tests/bugs/bug-808400-fcntl.c
@@ -84,9 +84,9 @@ main (int argc, char *argv[])
system (cmd);
/* wait till graph switch completes */
- ret = fstat (fd, &stbuf);
+ ret = fstat64 (fd, &stbuf);
if (ret < 0) {
- fprintf (stderr, "fstat failure (%s)\n", strerror (errno));
+ fprintf (stderr, "fstat64 failure (%s)\n", strerror (errno));
goto out;
}
diff --git a/tests/bugs/bug-808400-flock.c b/tests/bugs/bug-808400-flock.c
index 3a30a1d4b72..4770c81dc69 100644
--- a/tests/bugs/bug-808400-flock.c
+++ b/tests/bugs/bug-808400-flock.c
@@ -63,9 +63,9 @@ main (int argc, char *argv[])
system (cmd);
/* wait till graph switch completes */
- ret = fstat (fd, &stbuf);
+ ret = fstat64 (fd, &stbuf);
if (ret < 0) {
- fprintf (stderr, "fstat failure (%s)\n", strerror (errno));
+ fprintf (stderr, "fstat64 failure (%s)\n", strerror (errno));
goto out;
}
diff --git a/tests/bugs/bug-858242.c b/tests/bugs/bug-858242.c
index a42262e225c..00a3a2d5f7d 100644
--- a/tests/bugs/bug-858242.c
+++ b/tests/bugs/bug-858242.c
@@ -43,9 +43,9 @@ main (int argc, char *argv[])
goto out;
}
- ret = fstat (fd, &statbuf);
+ ret = fstat64 (fd, &statbuf);
if (ret < 0) {
- fprintf (stderr, "fstat failed (%s)", strerror (errno));
+ fprintf (stderr, "fstat64 failed (%s)", strerror (errno));
goto out;
}