summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-04-08 07:51:10 +0000
committerru <ru@FreeBSD.org>2002-04-08 07:51:10 +0000
commitb2401764d7c899eeafa48efb3ab173dd9dcbd999 (patch)
tree3a6f7e73e0dd11bc7f961a146c9950b4d55d8ce4 /lib/libc
parente7d7c55da142bc88f5b1603d9a6d1bc4ee323965 (diff)
downloadFreeBSD-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.c6
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);
OpenPOWER on IntegriCloud