diff options
author | Michael Brown <mcb30@etherboot.org> | 2006-05-27 13:38:49 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2006-05-27 13:38:49 +0000 |
commit | 1dbafa8950876388364252c908f290587a19f4b1 (patch) | |
tree | 02eef00d2662a37b397e3bfea20e60221f06d2cc /src/net/ethernet.c | |
parent | aa2468babe4c5c052f41790cefb344c27f77852f (diff) | |
download | ipxe-1dbafa8950876388364252c908f290587a19f4b1.tar.gz |
Tidied up debugging messages
Diffstat (limited to 'src/net/ethernet.c')
-rw-r--r-- | src/net/ethernet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/ethernet.c b/src/net/ethernet.c index 88ca6c42d..cadcb6742 100644 --- a/src/net/ethernet.c +++ b/src/net/ethernet.c @@ -140,7 +140,7 @@ static const char * eth_ntoa ( const void *ll_addr ) { static char buf[18]; /* "00:00:00:00:00:00" */ uint8_t *eth_addr = ll_addr; - sprintf ( buf, "%hhx:%hhx:%hhx:%hhx:%hhx:%hhx", + sprintf ( buf, "%02x:%02x:%02x:%02x:%02x:%02x", eth_addr[0], eth_addr[1], eth_addr[2], eth_addr[3], eth_addr[4], eth_addr[5] ); return buf; |