From 9e93004171eb0c4c288051b2d7bb37f97a0ae430 Mon Sep 17 00:00:00 2001 From: Sebastian Rasmussen Date: Sun, 29 May 2016 23:11:53 +0200 Subject: misc: Fix various typos Fix various typos in error messages, warnings, debug strings, comments and names of static functions. Signed-off-by: Sebastian Rasmussen --- lib/colors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/colors.c') 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; -- cgit v1.2.3-55-g7522