summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--flashrom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/flashrom.c b/flashrom.c
index 438e843..2dc2de8 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -187,7 +187,8 @@ int verify_flash(struct flashchip *flash, uint8_t *buf)
if (verbose) {
printf("0x%08x ", idx);
}
- printf("FAILED!\n");
+ printf("FAILED! Expected=0x%02x, Read=0x%02x\n",
+ *(buf + idx), *(buf2 + idx));
return 1;
}
OpenPOWER on IntegriCloud