commit - 8ff153d7d40e4933e5ac66016ac30d35cbde3227
commit + b18e81b6313b097101f35e9b69870be6f2467828
blob - 6f0c4c9db1129d3a2cc291d6d3811fd297591ebb
blob + 51bd2a5dc64d4989921e2f30445bab72c94cb997
--- src/ngircd/log.c
+++ src/ngircd/log.c
#define LOG_CONS 0
#endif
#ifdef LOG_DAEMON
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, LOG_DAEMON);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, LOG_DAEMON);
#else
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, 0);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, 0);
#endif
#endif
} /* Log_Init */
#define LOG_CONS 0
#endif
closelog();
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, Conf_SyslogFacility);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, Conf_SyslogFacility);
#endif
Log(LOG_NOTICE, "%s started.", NGIRCd_Version);
Log(LOG_INFO, "Using configuration file \"%s\" ...", NGIRCd_ConfFile);
Log_Init_Subprocess(char UNUSED *Name)
{
#ifdef SYSLOG
- openlog(PACKAGE_NAME, LOG_CONS|LOG_PID, Conf_SyslogFacility);
+ openlog(PACKAGE, LOG_CONS|LOG_PID, Conf_SyslogFacility);
#endif
#ifdef DEBUG
Log_Subprocess(LOG_DEBUG, "%s sub-process starting, PID %ld.",