From 5cafc33831ddbc92a3b59c49e2c61ac87f8a948e Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Sun, 25 Jan 2009 23:52:45 +0000 Subject: Beautify flash chip ID verbose printout a little, always use %02x Corresponding to flashrom svn r390 and coreboot v2 svn r3895. Signed-off-by: Peter Stuge Acked-by: Peter Stuge --- sst49lfxxxc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sst49lfxxxc.c') diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c index b6693efb..2c9a87b9 100644 --- a/sst49lfxxxc.c +++ b/sst49lfxxxc.c @@ -135,7 +135,7 @@ int probe_49lfxxxc(struct flashchip *flash) *bios = RESET; - 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 0; -- cgit v1.2.3