diff --git a/NEWS b/NEWS index f55546d8..7ddc8abe 100644 --- a/NEWS +++ b/NEWS @@ -42,7 +42,7 @@ procps-ng-3.3.8 Debian #707648 * eliminate the potential library segmentation fault Debian #706259, RedHat #951391 - * top now accomodates a window manager like 'screen' + * top now accommodates a window manager like 'screen' RedHat #962022 * ps shows systemd unit and user unit for a process diff --git a/pmap.c b/pmap.c index 66c1c2df..7777a196 100644 --- a/pmap.c +++ b/pmap.c @@ -615,7 +615,7 @@ static int one_proc(proc_t * p) continue; } 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", maxw1, start, maxw2, (unsigned long)(diff >> 10), diff --git a/proc/readproc.3 b/proc/readproc.3 index fd548d1d..ec65e2fc 100644 --- a/proc/readproc.3 +++ b/proc/readproc.3 @@ -39,7 +39,7 @@ is not NULL, it will use the struct pointed at by .IR return_buf . Otherwise it will allocate a new .I proc_t -stucture and return a pointer to it. +structure and return a pointer to it. Note that (if so specified in .IR PT ) readproc always allocates memory if it fills in the diff --git a/proc/readproctab.3 b/proc/readproctab.3 index 45712d81..d76350a3 100644 --- a/proc/readproctab.3 +++ b/proc/readproctab.3 @@ -28,7 +28,7 @@ readproctab, freeproctab \- read information for all current processes at once .B readproctab reads information on all processes matching the criteria from .IR flags , -allocating memory for everthing as needed. It returns a +allocating memory for everything as needed. It returns a NULL-terminated list of .I proc_t pointers. For more information on the arguments of diff --git a/proc/sysinfo.c b/proc/sysinfo.c index 6b01397e..18769805 100644 --- a/proc/sysinfo.c +++ b/proc/sysinfo.c @@ -148,7 +148,7 @@ unsigned long getbtime(void) { * 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. * 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 * reveals that opinion as wishful thinking. * diff --git a/ps/display.c b/ps/display.c index a8d952ad..a659cbf3 100644 --- a/ps/display.c +++ b/ps/display.c @@ -578,7 +578,7 @@ static void arg_check_conflicts(void) selection_list_len++; } - /* -q doesn't allow multiple occurences */ + /* -q doesn't allow multiple occurrences */ if (has_quick_pid > 1) { fprintf(stderr, "q/-q/--quick-pid can only be used once.\n"); exit(1);