aboutsummaryrefslogtreecommitdiff
path: root/toys/other/ifconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/other/ifconfig.c')
-rw-r--r--toys/other/ifconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/other/ifconfig.c b/toys/other/ifconfig.c
index 6ee01c40..948043e2 100644
--- a/toys/other/ifconfig.c
+++ b/toys/other/ifconfig.c
@@ -123,7 +123,7 @@ static void display_ifconfig(char *name, int always, unsigned long long val[])
xprintf("%-9s Link encap:%s ", name, types[i].title);
if(i >= 0 && ifre.ifr_hwaddr.sa_family == ARPHRD_ETHER) {
xprintf("HWaddr ");
- for (i=0; i<6; i++) xprintf(":%02X"+!i, ifre.ifr_hwaddr.sa_data[i]);
+ for (i=0; i<6; i++) xprintf(":%02x"+!i, ifre.ifr_hwaddr.sa_data[i]);
}
xputc('\n');