|
@@ -356,7 +356,7 @@ int ubi_volume_read(char *volume, char *buf, size_t size)
|
|
size = vol->used_bytes;
|
|
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)
|
|
if (vol->corrupted)
|
|
printf("read from corrupted volume %d", vol->vol_id);
|
|
printf("read from corrupted volume %d", vol->vol_id);
|