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)
537 try = ((size_t)got) / BLOCK_SIZE; 537 try = ((size_t)got) / BLOCK_SIZE;
538 538
539 if (got & (BLOCK_SIZE - 1)) 539 if (got & (BLOCK_SIZE - 1))
540 fprintf(stderr, "Short read at block %u\n", current_block + try); 540 fprintf(stderr, "Short read at block %u\n", (unsigned)(current_block + try));
541 return try; 541 return try;
542} 542}
543 543