diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-09 23:44:57 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-01-09 23:44:57 +0000 |
commit | 1c962f23e09a50701be3090a72d0c0693e77d2ca (patch) | |
tree | f51c60b52f1a8ac7ec4c24b4592a1f73db572464 /sysklogd | |
parent | 59f2c34037cc1044d9966acdb86ebc11b42dbd86 (diff) | |
download | busybox-1c962f23e09a50701be3090a72d0c0693e77d2ca.tar.gz |
Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>
Diffstat (limited to 'sysklogd')
-rw-r--r-- | sysklogd/syslogd.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c index 8b59962be..aa7d516d6 100644 --- a/sysklogd/syslogd.c +++ b/sysklogd/syslogd.c @@ -262,8 +262,6 @@ static void log_to_shmem(const char *msg, int len) void ipcsyslog_cleanup(void); void ipcsyslog_init(void); void log_to_shmem(const char *msg); - - #endif /* FEATURE_IPC_SYSLOG */ @@ -271,7 +269,6 @@ void log_to_shmem(const char *msg); static void log_locally(char *msg) { static time_t last; - struct flock fl; int len = strlen(msg); @@ -447,8 +444,8 @@ static void split_escape_and_log(char *tmpbuf, int len) static void quit_signal(int sig) { - timestamp_and_log(LOG_SYSLOG | LOG_INFO, "System log daemon exiting", 0); - puts("System log daemon exiting"); + timestamp_and_log(LOG_SYSLOG | LOG_INFO, "syslogd exiting", 0); + puts("syslogd exiting"); unlink(dev_log_name); if (ENABLE_FEATURE_IPC_SYSLOG) ipcsyslog_cleanup(); |