now works with 4.2BSD syslog (blech)

This commit is contained in:
Todd C. Miller
1994-07-25 22:26:33 +00:00
parent 93230e6c29
commit 7b70cafbb2
2 changed files with 7 additions and 1 deletions

View File

@@ -233,7 +233,12 @@ void log_error(code)
send_mail();
#ifdef SYSLOG
#ifdef Syslog_facility
openlog(Syslog_ident, Syslog_options, Syslog_facility);
#else
openlog(Syslog_ident, Syslog_options);
#endif /* Syslog_facility */
/*
* Log the full line, breaking into multiple syslog(3) calls if necesary
*/