diff options
author | Richard Weinberger <richard@nod.at> | 2015-07-03 04:36:16 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-10-03 14:09:55 -0400 |
commit | 5347417e56b68354faf315ca42c99cfb0c02f1dd (patch) | |
tree | e02ca550ed002732368c68d7816ef978b37dd835 | |
parent | 4ebb4c9dcbe88a683b083f03176612ee8e87befb (diff) |
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>
-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, | |||
1358 | continue; | 1358 | continue; |
1359 | 1359 | ||
1360 | ubi_err(ubi, "LEB:%i:%i is PEB:%i instead of %i!", | 1360 | ubi_err(ubi, "LEB:%i:%i is PEB:%i instead of %i!", |
1361 | vol->vol_id, i, fm_eba[i][j], | 1361 | vol->vol_id, j, fm_eba[i][j], |
1362 | scan_eba[i][j]); | 1362 | scan_eba[i][j]); |
1363 | ubi_assert(0); | 1363 | ubi_assert(0); |
1364 | } | 1364 | } |