projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flashrom: Beautify flash chip ID verbose printout a little, always use %02x.
[coreboot.git]
/
util
/
flashrom
/
mx29f002.c
diff --git
a/util/flashrom/mx29f002.c
b/util/flashrom/mx29f002.c
index 7de4502440b07f18bac327b3abec753595907762..30adab1d72ce2919c18ac704678b50f19456444d 100644
(file)
--- a/
util/flashrom/mx29f002.c
+++ b/
util/flashrom/mx29f002.c
@@
-38,7
+38,7
@@
int probe_29f002(struct flashchip *flash)
myusec_delay(10);
- printf_debug("%s: id1 0x%
x, id2 0x%
x\n", __FUNCTION__, id1, id2);
+ printf_debug("%s: id1 0x%
02x, id2 0x%02
x\n", __FUNCTION__, id1, id2);
if (id1 == flash->manufacture_id && id2 == flash->model_id)
return 1;