1
0
Fork 0
mirror of https://github.com/jarun/nnn.git synced 2025-03-31 18:46:33 +00:00

printerr() should print to stderr

This commit is contained in:
sin 2014-10-22 14:08:16 +01:00
parent da0f20f52b
commit 8326a75762

View file

@ -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);
}