mirror of https://gitee.com/openkylin/linux.git
UBI: Fix debug message
We have to use j instead of i. i is the volume id and not the block. Reported-by: Alexander.Block@continental-corporation.com Signed-off-by: Richard Weinberger <richard@nod.at> Acked-by: Brian Norris <computersforpeace@gmail.com>
This commit is contained in:
parent
4ebb4c9dcb
commit
5347417e56
|
@ -1358,7 +1358,7 @@ int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap,
|
|||
continue;
|
||||
|
||||
ubi_err(ubi, "LEB:%i:%i is PEB:%i instead of %i!",
|
||||
vol->vol_id, i, fm_eba[i][j],
|
||||
vol->vol_id, j, fm_eba[i][j],
|
||||
scan_eba[i][j]);
|
||||
ubi_assert(0);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue