diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1997-11-10 08:03:36 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1997-11-10 08:03:36 +0000 |
| commit | 881377bc7d6d1f3f590a16ea04afc34e919f7d92 (patch) | |
| tree | e57a4ab0fec7d892ab0140062deb492685391f55 /usr.bin | |
| parent | 19c6c94322f48dc220beba43bc009124fe2e80db (diff) | |
Notes
Diffstat (limited to 'usr.bin')
| -rw-r--r-- | usr.bin/netstat/mbuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c index c8dc88cbc5da..f79450021174 100644 --- a/usr.bin/netstat/mbuf.c +++ b/usr.bin/netstat/mbuf.c @@ -36,7 +36,7 @@ static char sccsid[] = "@(#)mbuf.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: mbuf.c,v 1.7 1997/07/29 06:51:40 charnier Exp $"; + "$Id: mbuf.c,v 1.8 1997/08/17 09:12:43 peter Exp $"; #endif /* not lint */ #include <sys/param.h> @@ -144,7 +144,7 @@ mbpr(mbaddr) totfree = mbstat.m_clfree * MCLBYTES + MSIZE * (mbstat.m_mbufs - totmbufs); printf("%u Kbytes allocated to network (%d%% in use)\n", - totmem / 1024, (totmem - totfree) * 100 / totmem); + totmem / 1024, (unsigned) (totmem - totfree) * 100 / totmem); printf("%lu requests for memory denied\n", mbstat.m_drops); printf("%lu requests for memory delayed\n", mbstat.m_wait); printf("%lu calls to protocol drain routines\n", mbstat.m_drain); |
