svn commit: r253442 - head/tools/regression/aio/aiop
Kevin Lo
kevlo at FreeBSD.org
Thu Jul 18 01:40:32 UTC 2013
Author: kevlo
Date: Thu Jul 18 01:40:31 2013
New Revision: 253442
URL: http://svnweb.freebsd.org/changeset/base/253442
Log:
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
Modified:
head/tools/regression/aio/aiop/aiop.c
Modified: head/tools/regression/aio/aiop/aiop.c
==============================================================================
--- head/tools/regression/aio/aiop/aiop.c Thu Jul 18 00:22:42 2013 (r253441)
+++ head/tools/regression/aio/aiop/aiop.c Thu Jul 18 01:40:31 2013 (r253442)
@@ -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 *));
More information about the svn-src-head
mailing list