diff options
author | ae <ae@FreeBSD.org> | 2014-10-05 11:16:16 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-10-05 11:16:16 +0000 |
commit | bc27ba7fe5267328a855380391db0961a052eacf (patch) | |
tree | 1f1cf74828b31b2209fbf0543cc861cb88dfd2e3 /tools | |
parent | 5bb00416228d8237d3c4d7794a76601c8405b6ba (diff) | |
download | FreeBSD-src-bc27ba7fe5267328a855380391db0961a052eacf.zip FreeBSD-src-bc27ba7fe5267328a855380391db0961a052eacf.tar.gz |
Fix format string warnings.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/tools/bootparttest/bootparttest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/bootparttest/bootparttest.c b/tools/tools/bootparttest/bootparttest.c index ecb8946..0987652 100644 --- a/tools/tools/bootparttest/bootparttest.c +++ b/tools/tools/bootparttest/bootparttest.c @@ -78,8 +78,8 @@ disk_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf, 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) |