From owner-cvs-all@FreeBSD.ORG Fri Dec 26 10:47:42 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7531C16A4CE; Fri, 26 Dec 2003 10:47:42 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id AE6D543D1F; Fri, 26 Dec 2003 10:47:41 -0800 (PST) (envelope-from alfred@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBQIlf0B015238; Fri, 26 Dec 2003 10:47:41 -0800 (PST) (envelope-from alfred@repoman.freebsd.org) Received: (from alfred@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBQIlfZR015237; Fri, 26 Dec 2003 10:47:41 -0800 (PST) (envelope-from alfred) Message-Id: <200312261847.hBQIlfZR015237@repoman.freebsd.org> From: Alfred Perlstein Date: Fri, 26 Dec 2003 10:47:41 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/usr.bin/netstat mbuf.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 18:47:42 -0000 alfred 2003/12/26 10:47:41 PST FreeBSD src repository Modified files: usr.bin/netstat mbuf.c Log: Fix percentages by using long long to hold values for 'space', overflow was breaking a bunch of the stats, specifically the percentage displayed for wired memory. Fix the output for current/peak/max lines, I forgot to output the types. 161/320/51200 (current/peak/max): -to- 639/25696/51200 mbufs in use (current/peak/max): Revision Changes Path 1.35 +12 -9 src/usr.bin/netstat/mbuf.c