=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/netstat/if.c,v retrieving revision 1.11 retrieving revision 1.12 diff -u -r1.11 -r1.12 --- src/usr.bin/netstat/if.c 1997/06/29 20:17:58 1.11 +++ src/usr.bin/netstat/if.c 1997/06/29 20:52:39 1.12 @@ -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 @@ 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 @@ 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 ",