[hackers] [sbase] Use eprintf() in usage() || sin
commit d30ac8d64b2e9d76b22b88647688b08491e9b0af
Author: sin <sin_AT_2f30.org>
Date: Tue Dec 9 16:32:40 2014 +0000
Use eprintf() in usage()
diff --git a/crond.c b/crond.c
index 2c1dd90..6e12521 100644
--- a/crond.c
+++ b/crond.c
_AT_@ -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
Received on Tue Dec 09 2014 - 17:32:59 CET
This archive was generated by hypermail 2.3.0
: Tue Dec 09 2014 - 17:36:09 CET