summaryrefslogtreecommitdiffstats
path: root/en29f002a.c
diff options
context:
space:
mode:
Diffstat (limited to 'en29f002a.c')
-rw-r--r--en29f002a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/en29f002a.c b/en29f002a.c
index 904b58b..c70b37b 100644
--- a/en29f002a.c
+++ b/en29f002a.c
@@ -49,7 +49,7 @@ int probe_en29f512(struct flashchip *flash)
*(volatile uint8_t *)(bios + 0x2AA) = 0x55;
*(volatile uint8_t *)(bios + 0x555) = 0xF0;
- 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;
OpenPOWER on IntegriCloud