From d6a0c11b7a97803003107dd1c1a502b267014ea7 Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Sun, 5 Oct 2014 11:16:16 +0000 Subject: [PATCH] Fix format string warnings. --- tools/tools/bootparttest/bootparttest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/tools/bootparttest/bootparttest.c b/tools/tools/bootparttest/bootparttest.c index ecb8946108c..0987652d4d3 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)