From 5d276b98a2bbd4b69402559ced60f43af268f77b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 31 May 2020 22:54:55 +0200 Subject: Fixed unavailable printf padding --- src/kernel/net/rtl8139.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/net/rtl8139.c b/src/kernel/net/rtl8139.c index 0c69025..bbee94f 100644 --- a/src/kernel/net/rtl8139.c +++ b/src/kernel/net/rtl8139.c @@ -61,7 +61,7 @@ int rtl8139_init(void) // Get mac address for (int i = 0; i < 6; ++i) mac[i] = inb((u16)(rtl_iobase + 0x00 + i)); - debug("Mac address: %2x:%2x:%2x:%2x:%2x:%2x", mac[0], mac[1], mac[2], mac[3], + debug("Mac address: %x:%x:%x:%x:%x:%x", mac[0], mac[1], mac[2], mac[3], mac[4], mac[5]); // Activate (turn on) -- cgit v1.2.3