svn commit: trunk/busybox/util-linux
vda at busybox.net
vda at busybox.net
Tue Feb 6 21:52:05 UTC 2007
Author: vda
Date: 2007-02-06 13:52:05 -0800 (Tue, 06 Feb 2007)
New Revision: 17803
Log:
fix warning coming from printing size_t with %u
Modified:
trunk/busybox/util-linux/mkfs_minix.c
Changeset:
Modified: trunk/busybox/util-linux/mkfs_minix.c
===================================================================
--- trunk/busybox/util-linux/mkfs_minix.c 2007-02-06 19:28:50 UTC (rev 17802)
+++ trunk/busybox/util-linux/mkfs_minix.c 2007-02-06 21:52:05 UTC (rev 17803)
@@ -537,7 +537,7 @@
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;
}
More information about the busybox-cvs
mailing list