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 *)); _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"