summaryrefslogtreecommitdiffstats
path: root/sys/boot/uboot/lib/disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/uboot/lib/disk.c')
-rw-r--r--sys/boot/uboot/lib/disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/boot/uboot/lib/disk.c b/sys/boot/uboot/lib/disk.c
index 4681e1b..a8b7853 100644
--- a/sys/boot/uboot/lib/disk.c
+++ b/sys/boot/uboot/lib/disk.c
@@ -156,7 +156,8 @@ stor_strategy(void *devdata, int rw, daddr_t blk, size_t size, char *buf,
}
if (size % SI(dev).bsize) {
- stor_printf("size=%d not multiple of device block size=%d\n",
+ stor_printf("size=%zu not multiple of device "
+ "block size=%d\n",
size, SI(dev).bsize);
return (EIO);
}
OpenPOWER on IntegriCloud