From 6317c4baf79c25d7f77897b064eb4f0b7d9f070e Mon Sep 17 00:00:00 2001 From: Mark Whitley Date: Mon, 12 Mar 2001 22:51:50 +0000 Subject: Applied patch from Gennady Feldman to split up syslogd.c into syslogd and klogd (as it should be). --- sysklogd/logger.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sysklogd/logger.c') 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; } -- cgit v1.2.3