diff options
author | pancake@nopcode.org <unknown> | 2011-04-01 09:32:41 +0200 |
---|---|---|
committer | pancake@nopcode.org <unknown> | 2011-04-01 09:32:41 +0200 |
commit | 2ea66b92296c62c52d514ef03d16a068fdd20bdf (patch) | |
tree | b4336f41d0ba3e1f7860a82bb1c781de52e06cd3 /st.c | |
parent | cabc2bed6887ac11e73e9a8989f28a4598cd38f4 (diff) | |
download | st-2ea66b92296c62c52d514ef03d16a068fdd20bdf.tar.gz st-2ea66b92296c62c52d514ef03d16a068fdd20bdf.tar.bz2 |
apply Nick's patch to fix some error printf to use stderr
Diffstat (limited to 'st.c')
-rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -935,7 +935,7 @@ csihandle(void) { switch(escseq.mode) { default: unknown: - printf("erresc: unknown csi "); + fprintf(stderr, "erresc: unknown csi "); csidump(); /* die(""); */ break; @@ -1207,7 +1207,7 @@ tputc(char *c) { term.c.attr.mode &= ~ATTR_GFX; break; default: - printf("esc unhandled charset: ESC ( %c\n", ascii); + fprintf(stderr, "esc unhandled charset: ESC ( %c\n", ascii); } term.esc = 0; } else { |