commit 8326a75762cc4e842a9827f286d5cbcaaae54697 parent da0f20f52ba718dc1a8d1af6674c6e2e14981dca Author: sin <sin@2f30.org> Date: Wed, 22 Oct 2014 14:08:16 +0100 printerr() should print to stderr Diffstat:
M | noice.c | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/noice.c b/noice.c @@ -189,7 +189,7 @@ void printerr(int ret, char *prefix) { exitcurses(); - printf("%s: %s\n", prefix, strerror(errno)); + fprintf(stderr, "%s: %s\n", prefix, strerror(errno)); exit(ret); }