diff --git a/st.c b/st.c index 09b0262..586d124 100644 --- a/st.c +++ b/st.c @@ -784,7 +784,7 @@ ttynew(void) { cmdfd = m; signal(SIGCHLD, sigchld); if (opt_io && !(fileio = fopen(opt_io, "w"))) { - fprintf(stderr, "Error opening %s:%s", + fprintf(stderr, "Error opening %s:%s\n", opt_io, strerror(errno)); } }