From 2450419294dc9bdad5f1822cc5ecc333c5520369 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sun, 25 Jan 2009 23:52:45 +0000 Subject: flashrom: Beautify flash chip ID verbose printout a little, always use %02x. Signed-off-by: Peter Stuge Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3895 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/m29f400bt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util/flashrom/m29f400bt.c') diff --git a/util/flashrom/m29f400bt.c b/util/flashrom/m29f400bt.c index bc70449993..d0b040de2d 100644 --- a/util/flashrom/m29f400bt.c +++ b/util/flashrom/m29f400bt.c @@ -75,7 +75,7 @@ int probe_m29f400bt(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%02x\n", __FUNCTION__, id1, id2); if (id1 == flash->manufacture_id && id2 == flash->model_id) return 1; -- cgit v1.2.3