aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1994-08-05 12:38:06 +0000
committerDavid Greenman <dg@FreeBSD.org>1994-08-05 12:38:06 +0000
commit541f256275ddf8f4cb36a6c2539143edc387ffd9 (patch)
treeb5321344fa12bd5904c34701879419020cf9b3cc /usr.bin
parent9671146f8befb31abf3a5746f90f3715d32482c9 (diff)
Notes
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 3f12f53b4f6d..f99e84af3872 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -189,7 +189,7 @@ intpr(interval, ifnetaddr)
cp = sa->sa_data;
hexprint:
while (--n >= 0)
- m += printf("%x%c", *cp++ & 0xff,
+ m += printf("%02x%c", *cp++ & 0xff,
n > 0 ? '.' : ' ');
m = 28 - m;
while (m-- > 0)