diff --git a/[refs] b/[refs] index dc6178aa8e19..ed4c68343f2e 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 158132c9abbccce802def10e5ffaf044b266a6e1 +refs/heads/master: 7cdb996ee4d04b5bb2cd544b14e8eb91cfd7fe64 diff --git a/trunk/drivers/mtd/ubi/scan.c b/trunk/drivers/mtd/ubi/scan.c index a86c04821368..372a15ac9995 100644 --- a/trunk/drivers/mtd/ubi/scan.c +++ b/trunk/drivers/mtd/ubi/scan.c @@ -964,7 +964,7 @@ static int check_what_we_have(struct ubi_device *ubi, struct ubi_scan_info *si) } } - if (si->corr_peb_count >= 0) + if (si->corr_peb_count > 0) ubi_msg("corrupted PEBs will be formatted"); return 0; }