From c72560d44a157e40cdcc6f2ef49f9d9de22cd2b0 Mon Sep 17 00:00:00 2001 From: kevlo Date: Thu, 18 Jul 2013 01:40:31 +0000 Subject: 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 --- tools/regression/aio/aiop/aiop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/regression') 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 *)); -- cgit v1.1