aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util-linux/mkfs_minix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/mkfs_minix.c b/util-linux/mkfs_minix.c
index 59a9e1715..e9ac9350d 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -537,7 +537,7 @@ static size_t do_check(char *buffer, size_t try, unsigned current_block)
try = ((size_t)got) / BLOCK_SIZE;
if (got & (BLOCK_SIZE - 1))
- fprintf(stderr, "Short read at block %u\n", current_block + try);
+ fprintf(stderr, "Short read at block %u\n", (unsigned)(current_block + try));
return try;
}