printerr() should print to stderr

This commit is contained in:
sin 2014-10-22 14:08:16 +01:00
parent da0f20f52b
commit 8326a75762
1 changed files with 1 additions and 1 deletions

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