From owner-svn-src-all@freebsd.org Mon Jun 4 05:27:02 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1716AFF3487; Mon, 4 Jun 2018 05:27:02 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A95DA72BB3; Mon, 4 Jun 2018 05:27:01 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8A9D5F4D; Mon, 4 Jun 2018 05:27:01 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w545R1hk075422; Mon, 4 Jun 2018 05:27:01 GMT (envelope-from eadler@FreeBSD.org) Received: (from eadler@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w545R1UA075420; Mon, 4 Jun 2018 05:27:01 GMT (envelope-from eadler@FreeBSD.org) Message-Id: <201806040527.w545R1UA075420@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: eadler set sender to eadler@FreeBSD.org using -f From: Eitan Adler Date: Mon, 4 Jun 2018 05:27:01 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r334604 - head/usr.bin/top X-SVN-Group: head X-SVN-Commit-Author: eadler X-SVN-Commit-Paths: head/usr.bin/top X-SVN-Commit-Revision: 334604 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2018 05:27:02 -0000 Author: eadler Date: Mon Jun 4 05:27:00 2018 New Revision: 334604 URL: https://svnweb.freebsd.org/changeset/base/334604 Log: top(1): some nitpicks - prefer fully spelled names to "u_long" - fix speeling Modified: head/usr.bin/top/commands.c head/usr.bin/top/machine.c Modified: head/usr.bin/top/commands.c ============================================================================== --- head/usr.bin/top/commands.c Mon Jun 4 05:23:06 2018 (r334603) +++ head/usr.bin/top/commands.c Mon Jun 4 05:27:00 2018 (r334604) @@ -64,7 +64,7 @@ These single-character commands are available:\n\ q - quit\n\ h or ? - help; show this text\n", stdout); - /* not all commands are availalbe with overstrike terminals */ + /* not all commands are available with overstrike terminals */ if (overstrike) { fputs("\n\ Modified: head/usr.bin/top/machine.c ============================================================================== --- head/usr.bin/top/machine.c Mon Jun 4 05:23:06 2018 (r334603) +++ head/usr.bin/top/machine.c Mon Jun 4 05:27:00 2018 (r334604) @@ -235,7 +235,7 @@ static const char *ordernames[] = { static int maxcpu; static int maxid; static int ncpus; -static u_long cpumask; +static unsigned long cpumask; static long *times; static long *pcpu_cp_time; static long *pcpu_cp_old; @@ -1616,7 +1616,7 @@ swapmode(int *retavail, int *retfree) int n; struct kvm_swap swapary[1]; static int pagesize = 0; - static u_long swap_maxpages = 0; + static unsigned long swap_maxpages = 0; *retavail = 0; *retfree = 0;