aboutsummaryrefslogtreecommitdiff
path: root/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/syslogd.c b/syslogd.c
index 55fd8dc74..264d899f3 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -76,21 +76,6 @@ static int MarkInterval = 20 * 60;
76/* localhost's name */ 76/* localhost's name */
77static char LocalHostName[32]; 77static char LocalHostName[32];
78 78
79static const char syslogd_usage[] =
80 "syslogd [OPTION]...\n"
81#ifndef BB_FEATURE_TRIVIAL_HELP
82 "\nLinux system and kernel (provides klogd) logging utility.\n"
83 "Note that this version of syslogd/klogd ignores /etc/syslog.conf.\n\n"
84 "Options:\n"
85 "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n"
86 "\t-n\t\tRun as a foreground process\n"
87#ifdef BB_FEATURE_KLOGD
88 "\t-K\t\tDo not start up the klogd process\n"
89#endif
90 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n"
91#endif
92 ;
93
94/* Note: There is also a function called "message()" in init.c */ 79/* Note: There is also a function called "message()" in init.c */
95/* Print a message to the log file. */ 80/* Print a message to the log file. */
96static void message (char *fmt, ...) __attribute__ ((format (printf, 1, 2))); 81static void message (char *fmt, ...) __attribute__ ((format (printf, 1, 2)));