diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-07 00:52:05 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-07 00:52:05 +0300 |
commit | d4eda22d0c5c23b637309f3bd9b6dd84f9235328 (patch) | |
tree | 58915aef349bb47156f59f5a054ec73fb9793485 /util-linux/mkfs_minix.c | |
parent | d46d3c292e9aff0550f6540ab631d742fe353964 (diff) |
fix warning coming from printing size_t with %u
Diffstat (limited to 'util-linux/mkfs_minix.c')
-rw-r--r-- | util-linux/mkfs_minix.c | 2 |
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; } |