diff options
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/logger.c | 14 | ||||
-rw-r--r-- | sysklogd/syslogd.c | 15 |
2 files changed, 0 insertions, 29 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 981748bb5..0e1ce8dce 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c | |||
@@ -47,20 +47,6 @@ extern CODE prioritynames[]; | |||
47 | extern CODE facilitynames[]; | 47 | extern CODE facilitynames[]; |
48 | #endif | 48 | #endif |
49 | 49 | ||
50 | static const char logger_usage[] = | ||
51 | "logger [OPTION]... [MESSAGE]\n" | ||
52 | #ifndef BB_FEATURE_TRIVIAL_HELP | ||
53 | "\nWrite MESSAGE to the system log. If MESSAGE is '-', log stdin.\n\n" | ||
54 | "Options:\n" | ||
55 | "\t-s\tLog to stderr as well as the system log.\n" | ||
56 | "\t-t\tLog using the specified tag (defaults to user name).\n" | ||
57 | |||
58 | "\t-p\tEnter the message with the specified priority.\n" | ||
59 | "\t\tThis may be numerical or a ``facility.level'' pair.\n" | ||
60 | #endif | ||
61 | ; | ||
62 | |||
63 | |||
64 | /* Decode a symbolic name to a numeric value | 50 | /* Decode a symbolic name to a numeric value |
65 | * this function is based on code | 51 | * this function is based on code |
66 | * Copyright (c) 1983, 1993 | 52 | * Copyright (c) 1983, 1993 |
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 */ |
77 | static char LocalHostName[32]; | 77 | static char LocalHostName[32]; |
78 | 78 | ||
79 | static 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. */ |
96 | static void message (char *fmt, ...) __attribute__ ((format (printf, 1, 2))); | 81 | static void message (char *fmt, ...) __attribute__ ((format (printf, 1, 2))); |