aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /sysklogd/syslogd.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'sysklogd/syslogd.c')
-rw-r--r--sysklogd/syslogd.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 55fd8dc74..264d899f3 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/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)));