summaryrefslogtreecommitdiff
path: root/usr.bin/netstat/if.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/netstat/if.c')
-rw-r--r--usr.bin/netstat/if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index 9c53caa5f31..2a3589035b3 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.c,v 1.11 1997/06/29 20:17:58 millert Exp $ */
+/* $OpenBSD: if.c,v 1.12 1997/06/29 20:52:39 millert Exp $ */
/* $NetBSD: if.c,v 1.16.4.2 1996/06/07 21:46:46 thorpej Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "from: @(#)if.c 8.2 (Berkeley) 2/21/94";
#else
-static char *rcsid = "$OpenBSD: if.c,v 1.11 1997/06/29 20:17:58 millert Exp $";
+static char *rcsid = "$OpenBSD: if.c,v 1.12 1997/06/29 20:52:39 millert Exp $";
#endif
#endif /* not lint */
@@ -200,7 +200,7 @@ intpr(interval, ifnetaddr)
char netnum[8];
*(union ipx_net *) &net = sipx->sipx_addr.ipx_net;
- sprintf(netnum, "%lxH", ntohl(net));
+ sprintf(netnum, "%xH", ntohl(net));
upHex(netnum);
printf("ipx:%-8s", netnum);
printf("%-17s ",
@@ -215,7 +215,7 @@ intpr(interval, ifnetaddr)
char netnum[8];
*(union ns_net *) &net = sns->sns_addr.x_net;
- sprintf(netnum, "%lxH", ntohl(net));
+ sprintf(netnum, "%xH", ntohl(net));
upHex(netnum);
printf("ns:%-8s ", netnum);
printf("%-17s ",