Use eprintf() in usage()
This commit is contained in:
parent
669f4b45cd
commit
d30ac8d64b
5
crond.c
5
crond.c
|
@ -408,10 +408,7 @@ sighandler(int sig)
|
||||||
static void
|
static void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "usage: %s [-f file] [-n]\n", argv0);
|
eprintf("usage: %s [-f file] [-n]\n", argv0);
|
||||||
fprintf(stderr, " -f config file\n");
|
|
||||||
fprintf(stderr, " -n do not daemonize\n");
|
|
||||||
exit(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int
|
int
|
||||||
|
|
Loading…
Reference in New Issue
Block a user