diff options
author | Mark Whitley <markw@lineo.com> | 2001-03-12 22:51:50 +0000 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-03-12 22:51:50 +0000 |
commit | 6317c4baf79c25d7f77897b064eb4f0b7d9f070e (patch) | |
tree | 5fc8fe65a4903f6224925a72b53a4f46e2b0b1d3 /sysklogd/logger.c | |
parent | 4987bbf97924044c88007c45ee2674d97b93ad92 (diff) |
Applied patch from Gennady Feldman to split up syslogd.c into syslogd and
klogd (as it should be).
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r-- | sysklogd/logger.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 1218d8d2e..b8aae3d28 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -148,9 +148,10 @@ extern int logger_main(int argc, char **argv) message[strlen(message)-1] = '\0'; } - openlog(name, option, (pri | LOG_FACMASK)); + /*openlog(name, option, (pri | LOG_FACMASK)); syslog(pri, "%s", message); - closelog(); + closelog();*/ + syslog_msg_with_name(name,(pri | LOG_FACMASK),pri,message); return EXIT_SUCCESS; } |