summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cmd/ubi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ubi.c b/cmd/ubi.c
index 0e935e34b8..913f0f71fd 100644
--- a/cmd/ubi.c
+++ b/cmd/ubi.c
@@ -356,7 +356,7 @@ int ubi_volume_read(char *volume, char *buf, size_t size)
size = vol->used_bytes;
}
- printf("Read %u bytes from volume %s to %p\n", size, volume, buf);
+ printf("Read %zu bytes from volume %s to %p\n", size, volume, buf);
if (vol->corrupted)
printf("read from corrupted volume %d", vol->vol_id);