svn commit: r334604 - head/usr.bin/top
Eitan Adler
eadler at FreeBSD.org
Mon Jun 4 05:27:02 UTC 2018
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;
More information about the svn-src-head
mailing list