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
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),
.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
.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
* 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.
*
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);