mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 09:01:24 +03:00
Tidied up debugging messages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user