summaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2006-02-16 15:40:24 +0000
committer"Vladimir N. Oleynik"2006-02-16 15:40:24 +0000
commitdd1ccddf1b33972966760857092eb9b659b7a40a (patch)
tree311c032dd6a55cc3923e744d8e888d9edd9ede44 /sysklogd
parent21e68703ce35805ff8b9590c22a400de05155ac2 (diff)
downloadbusybox-dd1ccddf1b33972966760857092eb9b659b7a40a.zip
busybox-dd1ccddf1b33972966760857092eb9b659b7a40a.tar.gz
moved BB_BANNER to applets/version.c file: make kernel like version,
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c2
-rw-r--r--sysklogd/syslogd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index b8d69c4..5be833f 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -61,7 +61,7 @@ static void doKlogd(const int console_log_level)
if (console_log_level != -1)
klogctl(8, NULL, console_log_level);
- syslog(LOG_NOTICE, "klogd started: " BB_BANNER);
+ syslog(LOG_NOTICE, "klogd started: %s", BB_BANNER);
while (1) {
/* Use kernel syscalls */
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index c827fd8..447d891 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -568,7 +568,7 @@ static void doSyslogd(void)
}
#endif
- logMessage(LOG_SYSLOG | LOG_INFO, "syslogd started: " BB_BANNER);
+ logMessage(LOG_SYSLOG | LOG_INFO, "syslogd started: " "BusyBox v" BB_VER );
for (;;) {