summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-06 21:52:05 +0000
committerDenis Vlasenko2007-02-06 21:52:05 +0000
commitd4eda22d0c5c23b637309f3bd9b6dd84f9235328 (patch)
tree58915aef349bb47156f59f5a054ec73fb9793485 /util-linux
parentd46d3c292e9aff0550f6540ab631d742fe353964 (diff)
downloadbusybox-d4eda22d0c5c23b637309f3bd9b6dd84f9235328.zip
busybox-d4eda22d0c5c23b637309f3bd9b6dd84f9235328.tar.gz
fix warning coming from printing size_t with %u
Diffstat (limited to 'util-linux')
-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 59a9e17..e9ac935 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;
}