diff --git a/lib/libedit/term.c b/lib/libedit/term.c index 48631bdf2760..7dc5013d58c9 100644 --- a/lib/libedit/term.c +++ b/lib/libedit/term.c @@ -836,7 +836,7 @@ term_set(el, term) if (i <= 0) { if (i == -1) - (void) fprintf(el->el_errfile, "Cannot open read termcap database;\n"); + (void) fprintf(el->el_errfile, "Cannot read termcap database;\n"); else if (i == 0) (void) fprintf(el->el_errfile, "No entry for terminal type \"%s\";\n", term);