diff options
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index f4e7f459b..9ab228f21 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c | |||
@@ -85,7 +85,7 @@ static const char syslogd_usage[] = | |||
85 | "Options:\n" | 85 | "Options:\n" |
86 | "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" | 86 | "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" |
87 | "\t-n\t\tRun as a foreground process\n" | 87 | "\t-n\t\tRun as a foreground process\n" |
88 | #ifdef BB_KLOGD | 88 | #ifdef BB_FEATURE_KLOGD |
89 | "\t-K\t\tDo not start up the klogd process\n" | 89 | "\t-K\t\tDo not start up the klogd process\n" |
90 | #endif | 90 | #endif |
91 | "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n" | 91 | "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)\n" |
@@ -316,7 +316,7 @@ static void doSyslogd (void) | |||
316 | } | 316 | } |
317 | } | 317 | } |
318 | 318 | ||
319 | #ifdef BB_KLOGD | 319 | #ifdef BB_FEATURE_KLOGD |
320 | 320 | ||
321 | static void klogd_signal(int sig) | 321 | static void klogd_signal(int sig) |
322 | { | 322 | { |
@@ -407,7 +407,7 @@ extern int syslogd_main(int argc, char **argv) | |||
407 | int pid, klogd_pid; | 407 | int pid, klogd_pid; |
408 | int doFork = TRUE; | 408 | int doFork = TRUE; |
409 | 409 | ||
410 | #ifdef BB_KLOGD | 410 | #ifdef BB_FEATURE_KLOGD |
411 | int startKlogd = TRUE; | 411 | int startKlogd = TRUE; |
412 | #endif | 412 | #endif |
413 | int stopDoingThat = FALSE; | 413 | int stopDoingThat = FALSE; |
@@ -427,7 +427,7 @@ extern int syslogd_main(int argc, char **argv) | |||
427 | case 'n': | 427 | case 'n': |
428 | doFork = FALSE; | 428 | doFork = FALSE; |
429 | break; | 429 | break; |
430 | #ifdef BB_KLOGD | 430 | #ifdef BB_FEATURE_KLOGD |
431 | case 'K': | 431 | case 'K': |
432 | startKlogd = FALSE; | 432 | startKlogd = FALSE; |
433 | break; | 433 | break; |
@@ -456,7 +456,7 @@ extern int syslogd_main(int argc, char **argv) | |||
456 | 456 | ||
457 | umask(0); | 457 | umask(0); |
458 | 458 | ||
459 | #ifdef BB_KLOGD | 459 | #ifdef BB_FEATURE_KLOGD |
460 | /* Start up the klogd process */ | 460 | /* Start up the klogd process */ |
461 | if (startKlogd == TRUE) { | 461 | if (startKlogd == TRUE) { |
462 | klogd_pid = fork(); | 462 | klogd_pid = fork(); |