Add newline to stderr message
authorRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 4 Sep 2012 18:31:21 +0000 (20:31 +0200)
committerRoberto E. Vargas Caballero <k0ga@shike2.com>
Tue, 4 Sep 2012 18:31:21 +0000 (20:31 +0200)
---
 st.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

st.c

diff --git a/st.c b/st.c
index 09b0262..586d124 100644 (file)
--- 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));
                }
        }