summaryrefslogtreecommitdiffstats
path: root/text-utils/more.c
diff options
context:
space:
mode:
authorBernhard Voelker2012-04-20 00:10:44 +0200
committerKarel Zak2012-04-23 13:16:35 +0200
commit455fe9a075cc59e3250af9c413d42e7ac47a86a9 (patch)
treeb5aae6ccef42cb7c5c459d6c6951957528d06c88 /text-utils/more.c
parentfdisk: simplify device opening (diff)
downloadkernel-qcow2-util-linux-455fe9a075cc59e3250af9c413d42e7ac47a86a9.tar.gz
kernel-qcow2-util-linux-455fe9a075cc59e3250af9c413d42e7ac47a86a9.tar.xz
kernel-qcow2-util-linux-455fe9a075cc59e3250af9c413d42e7ac47a86a9.zip
Fix typos found by misspellings
The tool misspellings (https://github.com/lyda/misspell-check) detected several typos. Command used: $ git ls-files | grep -v ^po/ | misspellings -f - * isosize: Fix typo in usage string. * configure.ac: Fix typo in help string of --enable-most-builds option. * fdisk: Fix typo in man page. * libblkid, blkid, mount: Likewise. * Fix various typos in docs and 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-utils/more.c b/text-utils/more.c
index aa1e4cc5c..519679143 100644
--- a/text-utils/more.c
+++ b/text-utils/more.c
@@ -1574,7 +1574,7 @@ void do_shell (char *filename)
}
/*
-** Search for nth ocurrence of regular expression contained in buf in the file
+** Search for nth occurrence of regular expression contained in buf in the file
*/
void search(char buf[], FILE *file, register int n)
@@ -2128,7 +2128,7 @@ reset_tty () {
if (no_tty)
return;
if (pstate) {
- tputs(ULexit, fileno(stdout), ourputch); /* putchar - if that isnt a macro */
+ tputs(ULexit, fileno(stdout), ourputch); /* putchar - if that isn't a macro */
fflush(stdout);
pstate = 0;
}