diff options
author | Mark Whitley <markw@lineo.com> | 2001-03-13 01:51:50 +0300 |
---|---|---|
committer | Mark Whitley <markw@lineo.com> | 2001-03-13 01:51:50 +0300 |
commit | 6317c4baf79c25d7f77897b064eb4f0b7d9f070e (patch) | |
tree | 5fc8fe65a4903f6224925a72b53a4f46e2b0b1d3 /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 'logger.c')
-rw-r--r-- | logger.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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; } |