Use unsigned printf/scanf conversion where more appropriate
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -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++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user