Use eprintf() in usage()

This commit is contained in:
sin 2014-12-09 16:32:40 +00:00
parent 669f4b45cd
commit d30ac8d64b

View File

@ -408,10 +408,7 @@ sighandler(int sig)
static void
usage(void)
{
fprintf(stderr, "usage: %s [-f file] [-n]\n", argv0);
fprintf(stderr, " -f config file\n");
fprintf(stderr, " -n do not daemonize\n");
exit(1);
eprintf("usage: %s [-f file] [-n]\n", argv0);
}
int