summaryrefslogtreecommitdiff
path: root/usr.bin/vi/cl/cl_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/vi/cl/cl_screen.c')
-rw-r--r--usr.bin/vi/cl/cl_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vi/cl/cl_screen.c b/usr.bin/vi/cl/cl_screen.c
index 23e74be812c..9149a2764e1 100644
--- a/usr.bin/vi/cl/cl_screen.c
+++ b/usr.bin/vi/cl/cl_screen.c
@@ -195,7 +195,8 @@ cl_vi_init(sp)
/* Curses vi always reads from (and writes to) a terminal. */
if (!F_ISSET(clp, CL_STDIN_TTY) || !isatty(STDOUT_FILENO)) {
msgq(sp, M_ERR,
- "016|Vi's standard input and output must be a terminal");
+ "016|vi's standard input and output must both refer to a
+ terminal");
return (1);
}