aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2013-07-18 01:40:31 +0000
committerKevin Lo <kevlo@FreeBSD.org>2013-07-18 01:40:31 +0000
commit8ea4debe598272df67ade4797cafd3bf22ed7abe (patch)
treefbfb3e04745774e125ba4c375045d97d4c0ca889
parentc92bc5e996359076a73118d8d2f2b93e5283713d (diff)
downloadsrc-8ea4debe598272df67ade4797cafd3bf22ed7abe.tar.gz
src-8ea4debe598272df67ade4797cafd3bf22ed7abe.zip
Replace PRId64 with "jd" in a printf call. Cast the corresponding value to
intmax_t, because the original type is off_t. Reported by: bde
Notes
Notes: svn path=/head/; revision=253442
-rw-r--r--tools/regression/aio/aiop/aiop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/aio/aiop/aiop.c b/tools/regression/aio/aiop/aiop.c
index b44c4adbd211..c75b33b26268 100644
--- a/tools/regression/aio/aiop/aiop.c
+++ b/tools/regression/aio/aiop/aiop.c
@@ -187,7 +187,7 @@ main(int argc, char *argv[])
perror("unknown file type\n");
exit(1);
}
- printf("File: %s; File size %"PRId64" bytes\n", fn, file_size);
+ printf("File: %s; File size %jd bytes\n", fn, (intmax_t)file_size);
aio = calloc(aio_len, sizeof(struct aiocb));
abuf = calloc(aio_len, sizeof(char *));