top(1): some nitpicks

- prefer fully spelled names to "u_long"
- fix speeling
This commit is contained in:
Eitan Adler 2018-06-04 05:27:00 +00:00
parent ce6fc9d779
commit cda7a5d5ed
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334604
2 changed files with 3 additions and 3 deletions

View File

@ -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\

View File

@ -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;