diff options
Diffstat (limited to 'util/flashrom')
-rw-r--r-- | util/flashrom/flashrom.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 9c8db6e6bd..f613f8a071 100644 --- a/util/flashrom/flashrom.c +++ b/util/flashrom/flashrom.c @@ -186,10 +186,11 @@ int verify_flash(struct flashchip *flash, uint8_t *buf) printf("0x%08x", idx); if (*(buf2 + idx) != *(buf + idx)) { - if (verbose) { - printf("0x%08x ", idx); - } - printf("FAILED! Expected=0x%02x, Read=0x%02x\n", + if (verbose) + printf("0x%08x FAILED!", idx); + else + printf("FAILED at 0x%08x!", idx); + printf(" Expected=0x%02x, Read=0x%02x\n", *(buf + idx), *(buf2 + idx)); return 1; } |