mirror of https://github.com/vitalif/e2fsprogs
libext2fs: fix printf conversion spec in tst_iscan.c
A recent patch to fix blk_t to blk64_t assignment mismatches in
e2fsprogs (commit 4dbfd79d14
) created
a printf conversion spec / argument type mismatch in tst_iscan.c.
Fix this to avoid truncation of the printed value and to silence
a compiler warning seen when "make check" is run.
Signed-off-by: Eric Whitney <enwlinux@gmail.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian-1.42.9
parent
3971bfe878
commit
144f4e8ca5
|
@ -182,7 +182,7 @@ static void check_map(void)
|
|||
|
||||
for (i=0; test_vec[i]; i++) {
|
||||
if (ext2fs_test_block_bitmap2(touched_map, test_vec[i])) {
|
||||
printf("Bad block was touched --- %u\n", test_vec[i]);
|
||||
printf("Bad block was touched --- %llu\n", test_vec[i]);
|
||||
failed++;
|
||||
first_no_comma = 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue