diff options
author | Peter Stuge <peter@stuge.se> | 2009-01-25 23:52:45 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2009-01-25 23:52:45 +0000 |
commit | 2450419294dc9bdad5f1822cc5ecc333c5520369 (patch) | |
tree | 2db6a4585f6b41053836350c8f615a318c92c345 /util/flashrom/w39v040c.c | |
parent | 7e6ff8bfc0e5c9a5238f046892dc19bcbec55780 (diff) | |
download | coreboot-2450419294dc9bdad5f1822cc5ecc333c5520369.tar.xz |
flashrom: Beautify flash chip ID verbose printout a little, always use %02x.
Signed-off-by: Peter Stuge <peter@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3895 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/w39v040c.c')
-rw-r--r-- | util/flashrom/w39v040c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/w39v040c.c b/util/flashrom/w39v040c.c index ce025969f7..37549d7b73 100644 --- a/util/flashrom/w39v040c.c +++ b/util/flashrom/w39v040c.c @@ -44,7 +44,7 @@ int probe_w39v040c(struct flashchip *flash) *(volatile uint8_t *)(bios + 0x5555) = 0xF0; myusec_delay(40); - printf_debug("%s: id1 0x%x, id2 0x%x", __func__, id1, id2); + printf_debug("%s: id1 0x%02x, id2 0x%02x", __func__, id1, id2); if (!oddparity(id1)) printf_debug(", id1 parity violation"); printf_debug("\n"); |