From: Jim Warner Date: Fri, 1 Feb 2019 06:00:00 +0000 (-0600) Subject: top: just correct a couple of misspellings in comments X-Git-Tag: v3.3.16~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07ae79a1ed1e3771b919bf5aa7059c805d4201ac;p=procps-ng top: just correct a couple of misspellings in comments Signed-off-by: Jim Warner --- diff --git a/top/top.c b/top/top.c index 1e8ace09..df30e0d8 100644 --- a/top/top.c +++ b/top/top.c @@ -1003,7 +1003,7 @@ static void show_special (int interact, const char *glob) { if ('~' == ch) ch = *(sub_end + 1) - '0'; switch (ch) { case 0: // no end delim, captab makes normal - // only possible when '\n' was NOT preceeded with a '~#' sequence + // only possible when '\n' was NOT preceded with a '~#' sequence // ( '~1' thru '~8' is valid range, '~0' is never actually used ) *(sub_end + 1) = '\0'; // extend str end, then fall through *(sub_end + 2) = '\0'; // ( +1 optimization for usual path ) @@ -3868,7 +3868,7 @@ static int config_osel (FILE *fp, char *buf, size_t size) { // whoa, must be an 'inspect' entry if (!begun && !strstr(buf, Osel_delim_1_txt)) return 0; - // ok, we're now begining + // ok, we're now beginning if (!begun && strstr(buf, Osel_delim_1_txt)) { begun = 1; continue;