Date: Thu, 18 Jul 2013 01:40:32 +0000 (UTC) From: Kevin Lo <kevlo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r253442 - head/tools/regression/aio/aiop Message-ID: <201307180140.r6I1eWLA016841@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 *));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307180140.r6I1eWLA016841>