diff options
Diffstat (limited to 'lib/ext2fs/read_bb_file.c')
-rw-r--r-- | lib/ext2fs/read_bb_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ext2fs/read_bb_file.c b/lib/ext2fs/read_bb_file.c index c24674ba..04e15819 100644 --- a/lib/ext2fs/read_bb_file.c +++ b/lib/ext2fs/read_bb_file.c @@ -41,7 +41,7 @@ errcode_t ext2fs_read_bb_FILE(ext2_filsys fs, FILE *f, while (!feof (f)) { if (fgets(buf, sizeof(buf), f) == NULL) break; - count = sscanf(buf, "%lu", &blockno); + count = sscanf(buf, "%u", &blockno); if (count <= 0) continue; if ((blockno < fs->super->s_first_data_block) || |