diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c index 9f3f6c4f8ca1..e8bc8ba39ddf 100644 --- a/lib/libc/net/ether_addr.c +++ b/lib/libc/net/ether_addr.c @@ -118,9 +118,9 @@ char int i; static char a[18]; - i = sprintf(a,"%02x:%02x:%02x:%02x:%02x:%02x", - n->octet[0],n->octet[1],n->octet[2], - n->octet[3],n->octet[4],n->octet[5]); + i = sprintf(a, "%02x:%02x:%02x:%02x:%02x:%02x", + n->octet[0], n->octet[1], n->octet[2], + n->octet[3], n->octet[4], n->octet[5]); if (i < 17) return (NULL); return ((char *)&a);