diff options
author | kevlo <kevlo@FreeBSD.org> | 2013-07-17 00:54:21 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2013-07-17 00:54:21 +0000 |
commit | 1de15a64af178a421d7ded6e9f869bc3848af252 (patch) | |
tree | 40406d2c53446c0ec9c45a3068f4f84a2d3d899b /tools | |
parent | ba840962e3fa284766290d9cdab82a949fb9e192 (diff) | |
download | FreeBSD-src-1de15a64af178a421d7ded6e9f869bc3848af252.zip FreeBSD-src-1de15a64af178a421d7ded6e9f869bc3848af252.tar.gz |
Use PRId64 instead of %gd to print an int64_t.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/regression/aio/aiop/aiop.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/regression/aio/aiop/aiop.c b/tools/regression/aio/aiop/aiop.c index 31a977e..b44c4ad 100644 --- a/tools/regression/aio/aiop/aiop.c +++ b/tools/regression/aio/aiop/aiop.c @@ -50,6 +50,7 @@ __FBSDID("$FreeBSD$"); #include <sys/disk.h> #include <aio.h> #include <fcntl.h> +#include <inttypes.h> #include <string.h> #include <ctype.h> #include <assert.h> @@ -186,7 +187,7 @@ main(int argc, char *argv[]) perror("unknown file type\n"); exit(1); } - printf("File: %s; File size %qd bytes\n", fn, file_size); + printf("File: %s; File size %"PRId64" bytes\n", fn, file_size); aio = calloc(aio_len, sizeof(struct aiocb)); abuf = calloc(aio_len, sizeof(char *)); |