summaryrefslogtreecommitdiffstats
path: root/commands/nandtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'commands/nandtest.c')
-rw-r--r--commands/nandtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/nandtest.c b/commands/nandtest.c
index c64f2443a8..373ee2c5da 100644
--- a/commands/nandtest.c
+++ b/commands/nandtest.c
@@ -161,7 +161,7 @@ static void print_stats(int nr_passes, int length)
* nr_passes);
for (i = 0; i < MAX_ECC_BITS; i++)
- printf("ECC %d bit error(s) : %d\n", i + 1, ecc_stats[i]);
+ printf("ECC %d bit error(s) : %u\n", i + 1, ecc_stats[i]);
printf("ECC >%d bit error(s) : %u\n", MAX_ECC_BITS, ecc_stats_over);
printf("ECC corrections failed : %u\n", ecc_failed_cnt);