]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix typos in comments and wall's man page
authorBernhard Voelker <mail@bernhard-voelker.de>
Tue, 29 May 2012 17:06:50 +0000 (19:06 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 5 Jun 2012 12:37:26 +0000 (14:37 +0200)
Culprits identified again by (newer) misspellings:

  $ git ls-files | misspellings -f - | grep -v '^po/'

* wall: Fix typo in man page.
* Fix typos in source code comments.

Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
libmount/src/context_mount.c
term-utils/setterm.c
term-utils/wall.1
text-utils/more.c

index 3f0001dd40c46eaeb0da6a259466257d7a166d1f..264276899600baad3e262671cf956e7ad40a56a8 100644 (file)
@@ -613,7 +613,7 @@ int mnt_context_prepare_mount(struct libmnt_context *cxt)
  * Note that this function could be called only once. If you want to mount
  * another source or target than you have to call mnt_reset_context().
  *
- * If you want to call mount(2) for the same source and target with a diffrent
+ * If you want to call mount(2) for the same source and target with a different
  * mount flags or fstype then call mnt_context_reset_status() and then try
  * again mnt_context_do_mount().
  *
index 5a652931b0813f6dab463bb40c1ef150826731ee..3083ac8268ecfef1d0f504d30bdd39e1326d57d5 100644 (file)
@@ -68,7 +68,7 @@
  * Semantics:
  *
  * Setterm writes to standard output a character string that will
- * invoke the specified terminal capabilities.  Where possibile
+ * invoke the specified terminal capabilities.  Where possible
  * terminfo is consulted to find the string to use.  Some options
  * however do not correspond to a terminfo capability.  In this case if
  * the terminal type is "con*", or "linux*" the string that invokes
index 56fa41364beb3ee16d464fbf8ea0f32f622c612a..88e816cdccec693b717fd6e2de1655865df7b807 100644 (file)
@@ -56,7 +56,7 @@ program is suid or sgid.
 .SH OPTIONS
 .TP
 \fB\-n\fR, \fB\-\-nobanner\fR
-Supress banner
+Suppress banner
 .TP
 \fB\-t\fR, \fB\-\-timeout\fR \fItimeout\fR
 Write
index d86d66420e69a4d69b1fd1ffacf8a7a30444f84b..b759859d169ad9c028a80a520d170b0acae75a46 100644 (file)
@@ -847,7 +847,7 @@ int get_line(register FILE *f, int *length)
     mbstate_t state, state_bak;                /* Current status of the stream. */
     char mbc[MB_LEN_MAX];              /* Buffer for one multibyte char. */
     size_t mblength;                   /* Byte length of multibyte char. */
-    size_t mbc_pos = 0;                        /* Postion of the MBC. */
+    size_t mbc_pos = 0;                        /* Position of the MBC. */
     int use_mbc_buffer_flag = 0;       /* If 1, mbc has data. */
     int break_flag = 0;                        /* If 1, exit while(). */
     long file_pos_bak = Ftell (f);