diff options
author | bde <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-07-06 21:01:54 +0000 |
commit | 0609531ab6b945c4918206f095bc1f6640408654 (patch) | |
tree | 0e5040099f85d8bf99734db8ff976b2c1e7d1b49 /usr.bin/netstat/if.c | |
parent | baf42e5599bd1cbdb2a0e5427980549767a002b8 (diff) | |
download | FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.zip FreeBSD-src-0609531ab6b945c4918206f095bc1f6640408654.tar.gz |
Fixed printf format errors.
Diffstat (limited to 'usr.bin/netstat/if.c')
-rw-r--r-- | usr.bin/netstat/if.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c index ca12cda..d483118 100644 --- a/usr.bin/netstat/if.c +++ b/usr.bin/netstat/if.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)if.c 8.3 (Berkeley) 4/28/95"; */ static const char rcsid[] = - "$Id$"; + "$Id: if.c,v 1.23 1997/02/22 19:56:21 peter Exp $"; #endif /* not lint */ #include <sys/types.h> @@ -196,7 +196,7 @@ intpr(interval, ifnetaddr) char netnum[10]; *(union ipx_net *) &net = sipx->sipx_addr.x_net; - sprintf(netnum, "%lx", ntohl(net)); + sprintf(netnum, "%lx", (u_long)ntohl(net)); printf("ipx:%-8s ", netnum); /* printf("ipx:%-8s ", netname(net, 0L)); */ printf("%-15s ", |