summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Voelker2012-05-29 19:06:50 +0200
committerKarel Zak2012-06-05 14:37:26 +0200
commit871ffd0960085509d841847e7e52de9253cf1d1a (patch)
treeae5eaebebe5e0c7e62b05d7b09bd086984f83c46
parenttext-utils/hexsyntax.c: fix for missing program_invocation_short_name (diff)
downloadkernel-qcow2-util-linux-871ffd0960085509d841847e7e52de9253cf1d1a.tar.gz
kernel-qcow2-util-linux-871ffd0960085509d841847e7e52de9253cf1d1a.tar.xz
kernel-qcow2-util-linux-871ffd0960085509d841847e7e52de9253cf1d1a.zip
Fix typos in comments and wall's man page
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>
-rw-r--r--libmount/src/context_mount.c2
-rw-r--r--term-utils/setterm.c2
-rw-r--r--term-utils/wall.12
-rw-r--r--text-utils/more.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libmount/src/context_mount.c b/libmount/src/context_mount.c
index 3f0001dd4..264276899 100644
--- a/libmount/src/context_mount.c
+++ b/libmount/src/context_mount.c
@@ -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().
*
diff --git a/term-utils/setterm.c b/term-utils/setterm.c
index 5a652931b..3083ac826 100644
--- a/term-utils/setterm.c
+++ b/term-utils/setterm.c
@@ -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
diff --git a/term-utils/wall.1 b/term-utils/wall.1
index 56fa41364..88e816cdc 100644
--- a/term-utils/wall.1
+++ b/term-utils/wall.1
@@ -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
diff --git a/text-utils/more.c b/text-utils/more.c
index d86d66420..b759859d1 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -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);