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

Reply via email to