diff options
author | kevlo <kevlo@FreeBSD.org> | 2013-07-18 01:40:31 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2013-07-18 01:40:31 +0000 |
commit | c72560d44a157e40cdcc6f2ef49f9d9de22cd2b0 (patch) | |
tree | fbfb3e04745774e125ba4c375045d97d4c0ca889 | |
parent | 5a5f4c42fb5eefbdced46e1eea4f3bffe59376f8 (diff) | |
download | FreeBSD-src-c72560d44a157e40cdcc6f2ef49f9d9de22cd2b0.zip FreeBSD-src-c72560d44a157e40cdcc6f2ef49f9d9de22cd2b0.tar.gz |
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
-rw-r--r-- | tools/regression/aio/aiop/aiop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/aio/aiop/aiop.c b/tools/regression/aio/aiop/aiop.c index b44c4ad..c75b33b 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 *)); |