diff options
author | ru <ru@FreeBSD.org> | 2002-04-08 07:51:10 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-08 07:51:10 +0000 |
commit | b2401764d7c899eeafa48efb3ab173dd9dcbd999 (patch) | |
tree | 3a6f7e73e0dd11bc7f961a146c9950b4d55d8ce4 /lib/libc | |
parent | e7d7c55da142bc88f5b1603d9a6d1bc4ee323965 (diff) | |
download | FreeBSD-src-b2401764d7c899eeafa48efb3ab173dd9dcbd999.zip FreeBSD-src-b2401764d7c899eeafa48efb3ab173dd9dcbd999.tar.gz |
Fix style of ether_ntoa().
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/net/ether_addr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/ether_addr.c b/lib/libc/net/ether_addr.c index 9f3f6c4..e8bc8ba 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); |