Author: ae
Date: Sun Oct  5 11:16:16 2014
New Revision: 272565
URL: https://svnweb.freebsd.org/changeset/base/272565

Log:
  Fix format string warnings.

Modified:
  head/tools/tools/bootparttest/bootparttest.c

Modified: head/tools/tools/bootparttest/bootparttest.c
==============================================================================
--- head/tools/tools/bootparttest/bootparttest.c        Sun Oct  5 11:06:22 
2014        (r272564)
+++ head/tools/tools/bootparttest/bootparttest.c        Sun Oct  5 11:16:16 
2014        (r272565)
@@ -78,8 +78,8 @@ disk_strategy(void *devdata, int rw, dad
                return (-1);
        if (rsize)
                *rsize = 0;
-       printf("read %lu bytes from the block %ld [+%ld]\n", size,
-           blk, dev->d_offset);
+       printf("read %zu bytes from the block %lld [+%lld]\n", size,
+           (long long)blk, (long long)dev->d_offset);
        ret = pread(disk.fd, buf, size,
            (blk + dev->d_offset) * disk.sectorsize);
        if (ret != size)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to