mirror of
https://github.com/fail0verflow/mini.git
synced 2024-11-30 23:24:19 +01:00
fixity fix
This commit is contained in:
parent
8ce5433382
commit
5cbe630a0a
2
nand.c
2
nand.c
@ -254,7 +254,7 @@ int nand_correct(u32 pageno, void *data, void *ecc)
|
|||||||
ecc_calc++;
|
ecc_calc++;
|
||||||
}
|
}
|
||||||
if(uncorrectable || corrected)
|
if(uncorrectable || corrected)
|
||||||
gecko_printf("ECC stats for NAND page 0x%x: %d uncorrectable, %d corrected\n", uncorrectable, corrected);
|
gecko_printf("ECC stats for NAND page 0x%x: %d uncorrectable, %d corrected\n", pageno, uncorrectable, corrected);
|
||||||
if(uncorrectable)
|
if(uncorrectable)
|
||||||
return NAND_ECC_UNCORRECTABLE;
|
return NAND_ECC_UNCORRECTABLE;
|
||||||
if(corrected)
|
if(corrected)
|
||||||
|
Loading…
Reference in New Issue
Block a user