X-Git-Url: https://git.xinqibao.xyz/st.git/blobdiff_plain/1d6702024b8930587f719288b86ba5b931ad557c..66669a558560c0ba3b5da4cd2009de81d68a2263:/st.c 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)); } }