summaryrefslogtreecommitdiff
path: root/util-linux/mkfs_minix.c
diff options
context:
space:
mode:
authorDenys Vlasenko2013-11-29 16:45:45 +0100
committerDenys Vlasenko2013-11-29 16:45:45 +0100
commit327f550669a80d72f36bc9e4de619c163aa46eff (patch)
treed304092aeb06539085be1385ab9298876c414b44 /util-linux/mkfs_minix.c
parent9b2a9f0210f13f1c59c0b954c4aa0eeb0a66efd1 (diff)
downloadbusybox-327f550669a80d72f36bc9e4de619c163aa46eff.zip
busybox-327f550669a80d72f36bc9e4de619c163aa46eff.tar.gz
Use unsigned printf/scanf conversion where more appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/mkfs_minix.c')
-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 49afd11..d65a516 100644
--- a/util-linux/mkfs_minix.c
+++ b/util-linux/mkfs_minix.c
@@ -505,7 +505,7 @@ static void get_list_blocks(char *filename)
listfile = xfopen_for_read(filename);
while (!feof(listfile)) {
- fscanf(listfile, "%ld\n", &blockno);
+ fscanf(listfile, "%lu\n", &blockno);
mark_zone(blockno);
G.badblocks++;
}