misc: result after checking all files for misspellings

Reference(s):
https://github.com/lyda/misspell-check.git

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner 2014-08-06 00:00:00 -05:00 committed by Jaromir Capik
parent dfe1f7d104
commit bcbc3c5a02
6 changed files with 6 additions and 6 deletions

2
NEWS
View File

@ -42,7 +42,7 @@ procps-ng-3.3.8
Debian #707648 Debian #707648
* eliminate the potential library segmentation fault * eliminate the potential library segmentation fault
Debian #706259, RedHat #951391 Debian #706259, RedHat #951391
* top now accomodates a window manager like 'screen' * top now accommodates a window manager like 'screen'
RedHat #962022 RedHat #962022
* ps shows systemd unit and user unit for a process * ps shows systemd unit and user unit for a process

2
pmap.c
View File

@ -615,7 +615,7 @@ static int one_proc(proc_t * p)
continue; continue;
} }
if (strncmp("Swap", smap_key, 4) == 0) { if (strncmp("Swap", smap_key, 4) == 0) {
/*doesnt matter as long as last */ /*doesn't matter as long as last */
printf("%0*" KLF "x %*lu %*llu %*llu %*s %s\n", printf("%0*" KLF "x %*lu %*llu %*llu %*s %s\n",
maxw1, start, maxw1, start,
maxw2, (unsigned long)(diff >> 10), maxw2, (unsigned long)(diff >> 10),

View File

@ -39,7 +39,7 @@ is not NULL, it will use the struct pointed at by
.IR return_buf . .IR return_buf .
Otherwise it will allocate a new Otherwise it will allocate a new
.I proc_t .I proc_t
stucture and return a pointer to it. structure and return a pointer to it.
Note that (if so specified in Note that (if so specified in
.IR PT ) .IR PT )
readproc always allocates memory if it fills in the readproc always allocates memory if it fills in the

View File

@ -28,7 +28,7 @@ readproctab, freeproctab \- read information for all current processes at once
.B readproctab .B readproctab
reads information on all processes matching the criteria from reads information on all processes matching the criteria from
.IR flags , .IR flags ,
allocating memory for everthing as needed. It returns a allocating memory for everything as needed. It returns a
NULL-terminated list of NULL-terminated list of
.I proc_t .I proc_t
pointers. For more information on the arguments of pointers. For more information on the arguments of

View File

@ -148,7 +148,7 @@ unsigned long getbtime(void) {
* is the kernel clock tick rate. One of these units is called a jiffy. * is the kernel clock tick rate. One of these units is called a jiffy.
* The HZ value used in the kernel may vary according to hacker desire. * The HZ value used in the kernel may vary according to hacker desire.
* According to Linus Torvalds, this is not true. He considers the values * According to Linus Torvalds, this is not true. He considers the values
* in /proc as being in architecture-dependant units that have no relation * in /proc as being in architecture-dependent units that have no relation
* to the kernel clock tick rate. Examination of the kernel source code * to the kernel clock tick rate. Examination of the kernel source code
* reveals that opinion as wishful thinking. * reveals that opinion as wishful thinking.
* *

View File

@ -578,7 +578,7 @@ static void arg_check_conflicts(void)
selection_list_len++; selection_list_len++;
} }
/* -q doesn't allow multiple occurences */ /* -q doesn't allow multiple occurrences */
if (has_quick_pid > 1) { if (has_quick_pid > 1) {
fprintf(stderr, "q/-q/--quick-pid can only be used once.\n"); fprintf(stderr, "q/-q/--quick-pid can only be used once.\n");
exit(1); exit(1);