summaryrefslogtreecommitdiffstats
path: root/text-utils/more.c
diff options
context:
space:
mode:
authorBernhard Voelker2012-05-29 19:06:50 +0200
committerKarel Zak2012-06-05 14:37:26 +0200
commit871ffd0960085509d841847e7e52de9253cf1d1a (patch)
treeae5eaebebe5e0c7e62b05d7b09bd086984f83c46 /text-utils/more.c
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>
Diffstat (limited to 'text-utils/more.c')
-rw-r--r--text-utils/more.c2
1 files changed, 1 insertions, 1 deletions
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);