summaryrefslogtreecommitdiffstats
path: root/lib/colors.c
diff options
context:
space:
mode:
authorSebastian Rasmussen2016-05-29 23:11:53 +0200
committerSebastian Rasmussen2016-05-31 23:40:21 +0200
commit9e93004171eb0c4c288051b2d7bb37f97a0ae430 (patch)
tree369493906bb3c1c6f2554609c737ada0230f4b2e /lib/colors.c
parentdocs: Fix various typos (diff)
downloadkernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.gz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.tar.xz
kernel-qcow2-util-linux-9e93004171eb0c4c288051b2d7bb37f97a0ae430.zip
misc: Fix various typos
Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
Diffstat (limited to 'lib/colors.c')
-rw-r--r--lib/colors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/colors.c b/lib/colors.c
index 933bb810a..e5a27ba25 100644
--- a/lib/colors.c
+++ b/lib/colors.c
@@ -265,7 +265,7 @@ static int colors_readdir(struct ul_color_ctl *cc, const char *dirname)
&tk_term, &tk_termsz, &type) != 0)
continue;
- /* count teoretical score before we check names to avoid
+ /* count theoretical score before we check names to avoid
* unnecessary strcmp() */
if (tk_name)
score += 20;
@@ -400,7 +400,7 @@ static int cn_sequence(const char *str, char **seq)
*out++ = '#'; /* Hash mark */
break;
case '?':
- *out++ = '?'; /* Qestion mark */
+ *out++ = '?'; /* Question mark */
break;
default:
*out++ = *in;