From: sin Date: Wed, 22 Oct 2014 13:08:16 +0000 (+0100) Subject: printerr() should print to stderr X-Git-Tag: v1.0~92^2~182 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8326a75762cc4e842a9827f286d5cbcaaae54697;p=nnn.git printerr() should print to stderr --- diff --git a/noice.c b/noice.c index cd938f3a..b8e0b4ad 100644 --- 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); }