all: fix misspellings in docs and program comments

We might as well join the coreutils and util-linux
projects in correcting our own typos.

The following was left unchanged:
   top/top.c[1797]: thru -> "through"

references:
http://lists.gnu.org/archive/html/coreutils/2012-04/msg00057.html
http://marc.info/?l=util-linux-ng&m=133518057419736&w=2

Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
Jim Warner
2012-04-23 11:50:49 -05:00
committed by Craig Small
parent 9af478c13d
commit 421b08a4df
9 changed files with 13 additions and 14 deletions

View File

@@ -2024,7 +2024,7 @@ void init_output(void){
);
memset(outbuf, ' ', SPACE_AMOUNT);
if(SPACE_AMOUNT==page_size) mprotect(outbuf, page_size, PROT_READ);
mprotect(outbuf + page_size*outbuf_pages, page_size, PROT_NONE); // gaurd page
mprotect(outbuf + page_size*outbuf_pages, page_size, PROT_NONE); // guard page
saved_outbuf = outbuf + SPACE_AMOUNT;
// available space: page_size*outbuf_pages-SPACE_AMOUNT

View File

@@ -226,7 +226,7 @@ static const char *parse_sysv_option(void){
// "IEEE Std 1003.1, 2004 Edition", "ISO/IEC 9945:2003",
// or "Version 2 of the Single Unix Specification".
//
// It may be time to re-think the existance of this list.
// It may be time to re-think the existence of this list.
// In the meantime, please do not add to it. The list is
// intended to ONLY contain flags defined by the POSIX and UNIX
// standards published by The Open Group, IEEE, and ISO.

View File

@@ -1310,11 +1310,11 @@ for additional information.
T}
maj_flt MAJFLT T{
The number of major page faults that have occured with this process.
The number of major page faults that have occurred with this process.
T}
min_flt MINFLT T{
The number of minor page faults that have occured with this process.
The number of minor page faults that have occurred with this process.
T}
ni NI T{