diff options
author | Richard Weinberger <richard@nod.at> | 2015-07-03 11:36:16 +0300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-10-03 21:09:55 +0300 |
commit | 5347417e56b68354faf315ca42c99cfb0c02f1dd (patch) | |
tree | e02ca550ed002732368c68d7816ef978b37dd835 /drivers/mtd/ubi | |
parent | 4ebb4c9dcbe88a683b083f03176612ee8e87befb (diff) | |
download | linux-5347417e56b68354faf315ca42c99cfb0c02f1dd.tar.xz |
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>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r-- | drivers/mtd/ubi/eba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index 51bca035cd83..5b9834cf2820 100644 --- a/drivers/mtd/ubi/eba.c +++ b/drivers/mtd/ubi/eba.c @@ -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); } |