typo fixes
authorManinder Singh <maninder1.s@samsung.com>
Mon, 25 May 2015 11:46:36 +0000 (13:46 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 25 May 2015 11:46:36 +0000 (13:46 +0200)
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
17 files changed:
Makefile
coreutils/Config.src
coreutils/stat.c
coreutils/uudecode.c
docs/cgi/env.html
e2fsprogs/old_e2fsprogs/blkid/dev.c
e2fsprogs/old_e2fsprogs/blkid/tag.c
e2fsprogs/old_e2fsprogs/e2fsck.c
editors/diff.c
editors/vi.c
findutils/xargs.c
miscutils/less.c
networking/netstat.c
scripts/basic/docproc.c
selinux/Config.src
shell/hush.c
util-linux/mkfs_reiser.c

index e0888578f7fef56119999e3eaa53383dc330eceb..65b2642f0ea36453e743717a33fc5b46011f3ee1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -552,7 +552,7 @@ export      INSTALL_PATH ?= /boot
 #
 # INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
 # relocations required by build roots.  This is not defined in the
-# makefile but the arguement can be passed to make if needed.
+# makefile but the argument can be passed to make if needed.
 #
 
 MODLIB = $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
index 1bbb91ee91b8a5fb931e98c53cc44a0f95c9dd12..1ec3a0a993a73cbc3dc76430b5100fbde20aa2df 100644 (file)
@@ -11,7 +11,7 @@ config CAL
        bool "cal"
        default y
        help
-         cal is used to display a monthly calender.
+         cal is used to display a monthly calendar.
 
 config CATV
        bool "catv"
index 769fac078e6434507d6541b062e25fddcda1b575..f7fd227bb1933fb0ac6b141afc3dbcdc4b241c0c 100644 (file)
@@ -374,7 +374,7 @@ static void print_it(const char *masterformat,
 {
        /* Create a working copy of the format string */
        char *format = xstrdup(masterformat);
-       /* Add 2 to accomodate our conversion of the stat '%s' format string
+       /* Add 2 to accommodate our conversion of the stat '%s' format string
         * to the printf '%llu' one.  */
        char *dest = xmalloc(strlen(format) + 2 + 1);
        char *b;
index 3f1227306d621e13446634bd3559edf5a9ab2612..7aa5c67f23ffff34de9bc5209801539358083091 100644 (file)
@@ -46,7 +46,7 @@ static void FAST_FUNC read_stduu(FILE *src_stream, FILE *dst_stream, int flags U
 
                encoded_len = line[0] * 4 / 3;
                /* Check that line is not too short. (we tolerate
-                * overly _long_ line to accomodate possible extra '`').
+                * overly _long_ line to accommodate possible extra '`').
                 * Empty line case is also caught here. */
                if (str_len <= encoded_len) {
                        break; /* go to bb_error_msg_and_die("short file"); */
index b83c750bf116a37481377b278e926a283eda5454..66a548b4656bcc510443767dafada02197b7dd78 100644 (file)
@@ -38,7 +38,7 @@ fulfilled by the gateway program: <p>
 
 </p><ul>
 <li> <a name="protocol"><code>SERVER_PROTOCOL</code></a> <p>
-    The name and revision of the information protcol this request came
+    The name and revision of the information protocol this request came
     in with. Format: protocol/revision </p><p>
 
 </p></li><li> <code>SERVER_PORT</code>  <p>
index 260e49c652543fceebb4696707d09a2efe9819f4..84b7b0a7211d372c4f2c3bfccfbe912811066e0e 100644 (file)
@@ -90,7 +90,7 @@ void blkid_debug_dump_dev(blkid_dev dev)
  *
  * These routines do not expose the list.h implementation, which are a
  * contamination of the namespace, and which force us to reveal far, far
- * too much of our internal implemenation.  I'm not convinced I want
+ * too much of our internal implementation.  I'm not convinced I want
  * to keep list.h in the long term, anyway.  It's fine for kernel
  * programming, but performance is not the #1 priority for this
  * library, and I really don't like the tradeoff of type-safety for
index 7424edeb813f09eec5e255624d58a479ef688c1e..f10a701d28198305eb8ee9fd8e8892ed8e730072 100644 (file)
@@ -230,7 +230,7 @@ errout:
  *
  * These routines do not expose the list.h implementation, which are a
  * contamination of the namespace, and which force us to reveal far, far
- * too much of our internal implemenation.  I'm not convinced I want
+ * too much of our internal implementation.  I'm not convinced I want
  * to keep list.h in the long term, anyway.  It's fine for kernel
  * programming, but performance is not the #1 priority for this
  * library, and I really don't like the tradeoff of type-safety for
index 0799b64ad428a478c021fa19b4faf50bcf1b760b..b816c62b0580720a23e9ac62b1f59a0fd82a100b 100644 (file)
@@ -6381,7 +6381,7 @@ static int deallocate_inode_block(ext2_filsys fs, blk_t *block_nr,
 }
 
 /*
- * This fuction deallocates an inode
+ * This function deallocates an inode
  */
 static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf)
 {
@@ -6447,7 +6447,7 @@ static void deallocate_inode(e2fsck_t ctx, ext2_ino_t ino, char* block_buf)
 }
 
 /*
- * This fuction clears the htree flag on an inode
+ * This function clears the htree flag on an inode
  */
 static void clear_htree(e2fsck_t ctx, ext2_ino_t ino)
 {
index c3ad31bf30cc8fd7b85a542ab6f8cb127638ba1b..cf14b1d0321da688c3aa0737201e4d5036fd0362 100644 (file)
@@ -363,7 +363,7 @@ static void stone(const int *a, int n, const int *b, int *J, int pref)
 }
 
 struct line {
-       /* 'serial' is not used in the begining, so we reuse it
+       /* 'serial' is not used in the beginning, so we reuse it
         * to store line offsets, thus reducing memory pressure
         */
        union {
index 2e4f7fcb598bad2b77810cae3e83b6dd788c10e3..6ce513c0cb0871f7b3096546934b2ca80491b429 100644 (file)
@@ -501,7 +501,7 @@ static char *prev_line(char *);     // return pointer to prev line B-o-l
 static char *next_line(char *);        // return pointer to next line B-o-l
 static char *end_screen(void); // get pointer to last char on screen
 static int count_lines(char *, char *);        // count line from start to stop
-static char *find_line(int);   // find begining of line #li
+static char *find_line(int);   // find beginning of line #li
 static char *move_to_col(char *, int); // move "p" to column l
 static void dot_left(void);    // move dot left- dont leave line
 static void dot_right(void);   // move dot right- dont leave line
@@ -1684,10 +1684,10 @@ static char *dollar_line(char *p) // return pointer to just before NL line
 
 static char *prev_line(char *p) // return pointer first char prev line
 {
-       p = begin_line(p);      // goto begining of cur line
+       p = begin_line(p);      // goto beginning of cur line
        if (p > text && p[-1] == '\n')
                p--;                    // step to prev line
-       p = begin_line(p);      // goto begining of prev line
+       p = begin_line(p);      // goto beginning of prev line
        return p;
 }
 
@@ -1735,7 +1735,7 @@ static int count_lines(char *start, char *stop)
        return cnt;
 }
 
-static char *find_line(int li) // find begining of line #li
+static char *find_line(int li) // find beginning of line #li
 {
        char *q;
 
@@ -3357,7 +3357,7 @@ static void refresh(int full_screen)
                        tp = t + 1;
                }
 
-               // see if there are any changes between vitual screen and out_buf
+               // see if there are any changes between virtual screen and out_buf
                changed = FALSE;        // assume no change
                cs = 0;
                ce = columns - 1;
@@ -3394,7 +3394,7 @@ static void refresh(int full_screen)
                if (cs < 0) cs = 0;
                if (ce > columns - 1) ce = columns - 1;
                if (cs > ce) { cs = 0; ce = columns - 1; }
-               // is there a change between vitual screen and out_buf
+               // is there a change between virtual screen and out_buf
                if (changed) {
                        // copy changed part of buffer to virtual screen
                        memcpy(sp+cs, out_buf+cs, ce-cs+1);
@@ -3844,7 +3844,7 @@ static void do_cmd(int c)
                }
                break;
 #endif /* FEATURE_VI_SEARCH */
-       case '0':                       // 0- goto begining of line
+       case '0':                       // 0- goto beginning of line
        case '1':                       // 1-
        case '2':                       // 2-
        case '3':                       // 3-
index 76c4747fe590f9f31011e9d6a51441b0d69cda1d..25e47ec8908e6e2e5b56e4b7b92e870385ef1a0c 100644 (file)
@@ -151,7 +151,7 @@ static void store_param(char *s)
  * is seen, store the address of a new parameter to args[].
  * If reading discovers that last chars do not form the complete
  * parameter, the pointer to the first such "tail character" is returned.
- * (buf has extra byte at the end to accomodate terminating NUL
+ * (buf has extra byte at the end to accommodate terminating NUL
  * of "tail characters" string).
  * Otherwise, the returned pointer points to NUL byte.
  * On entry, buf[] may contain some "seed chars" which are to become
index 554e546875847f1b5a47c9e3c5cdffafeb90511b..d5a68d1e1112ab1c11e46545d868a84502e9d25d 100644 (file)
@@ -1848,7 +1848,7 @@ key and/or command line switch compatibility is a good idea:
         Most options may be changed either on the command line,
         or from within less by using the - or -- command.
         Options may be given in one of two forms: either a single
-        character preceded by a -, or a name preceeded by --.
+        character preceded by a -, or a name preceded by --.
   -?  ........  --help
                   Display help (from command line).
   -a  ........  --search-skip-screen
index 1303d3f3d928899a1b508ffa97e3c4bb961be189..2196d42f74b5a718d30860cb67ffc5f02a3148b4 100644 (file)
@@ -119,7 +119,7 @@ typedef enum {
 #define ADDR_NORMAL_WIDTH        23
 /* When there are IPv6 connections the IPv6 addresses will be
  * truncated to none-recognition. The '-W' option makes the
- * address columns wide enough to accomodate for longest possible
+ * address columns wide enough to accommodate for longest possible
  * IPv6 addresses, i.e. addresses of the form
  * xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:ddd.ddd.ddd.ddd
  */
index 7f21443c1e5760e5451bd5a4085ffce74d34a3ca..720098a23da780487bc75f3e1559a37174e90207 100644 (file)
@@ -264,7 +264,7 @@ void singfunc(char * filename, char * line)
        vec[idx++] = KERNELDOC;
        vec[idx++] = DOCBOOK;
 
-       /* Split line up in individual parameters preceeded by FUNCTION */
+       /* Split line up in individual parameters preceded by FUNCTION */
        for (i=0; line[i]; i++) {
                if (isspace(line[i])) {
                        line[i] = '\0';
index 47d15b6afd5461d9ce26eefc7838472510e8f6e8..d4701f60b2d2cd9036771dc8154b608d714a4ab6 100644 (file)
@@ -64,7 +64,7 @@ config RUNCON
        default n
        depends on SELINUX
        help
-         Enable support to run command in speficied security context.
+         Enable support to run command in specified security context.
 
 config FEATURE_RUNCON_LONG_OPTIONS
        bool "Enable long options"
index f2c0a70f20fed284c9f847513c68f0a7b6530616..96c739fb7cfd43f74d6bb666ad9c7c647743c0a9 100644 (file)
@@ -442,7 +442,7 @@ enum {
        MAYBE_ASSIGNMENT      = 0,
        DEFINITELY_ASSIGNMENT = 1,
        NOT_ASSIGNMENT        = 2,
-       /* Not an assigment, but next word may be: "if v=xyz cmd;" */
+       /* Not an assignment, but next word may be: "if v=xyz cmd;" */
        WORD_IS_KEYWORD       = 3,
 };
 /* Used for initialization: o_string foo = NULL_O_STRING; */
index 13abaa88962adc59f4f0fd33e6fa710f6b57c029..56c8f0ab52ebf0998902fd18d5125de4a58d90f8 100644 (file)
@@ -66,7 +66,7 @@ struct reiserfs_super_block {
 
        char s_magic[10];               /* 52 "ReIsErFs" or "ReIsEr2Fs" or "ReIsEr3Fs" */
        uint16_t sb_fs_state;           /* 62 it is set to used by fsck to mark which phase of rebuilding is done (used for fsck debugging) */
-       uint32_t sb_hash_function_code; /* 64 code of fuction which was/is/will be used to sort names in a directory. See codes in above */
+       uint32_t sb_hash_function_code; /* 64 code of function which was/is/will be used to sort names in a directory. See codes in above */
        uint16_t sb_tree_height;        /* 68 height of filesytem tree. Tree consisting of only one root block has 2 here */
        uint16_t sb_bmap_nr;            /* 70 amount of bitmap blocks needed to address each block of file system */
        uint16_t sb_version;            /* 72 this field is only reliable on filesystem with non-standard journal */