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
This commit is contained in:
Kevin Lo 2013-07-18 01:40:31 +00:00
parent c92bc5e996
commit 8ea4debe59
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253442

View file

@ -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 *));