Date: Wed, 17 Jul 2013 00:54:21 +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: r253402 - head/tools/regression/aio/aiop Message-ID: <201307170054.r6H0sLEc065384@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevlo Date: Wed Jul 17 00:54:21 2013 New Revision: 253402 URL: http://svnweb.freebsd.org/changeset/base/253402 Log: Use PRId64 instead of %gd to print an int64_t. Modified: head/tools/regression/aio/aiop/aiop.c Modified: head/tools/regression/aio/aiop/aiop.c ============================================================================== --- head/tools/regression/aio/aiop/aiop.c Tue Jul 16 23:29:24 2013 (r253401) +++ head/tools/regression/aio/aiop/aiop.c Wed Jul 17 00:54:21 2013 (r253402) @@ -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 *));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201307170054.r6H0sLEc065384>