Portable build framework for OpenNTPD
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
518 B

  1. $FreeBSD: head/net/openntpd/files/patch-log.c 340725 2014-01-22 17:40:44Z mat $
  2. --- log.c.orig 2007-08-22 23:04:30.000000000 +0200
  3. +++ log.c 2009-08-01 22:08:01.000000000 +0200
  4. @@ -26,6 +26,10 @@
  5. #include "ntpd.h"
  6. +#ifndef LOG_NTP
  7. +#define LOG_NTP LOG_DAEMON
  8. +#endif
  9. +
  10. int debug;
  11. extern int debugsyslog;
  12. @@ -39,7 +43,7 @@ log_init(int n_debug)
  13. debug = n_debug;
  14. if (!debug)
  15. - openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON);
  16. + openlog(__progname, LOG_PID | LOG_NDELAY, LOG_NTP);
  17. tzset();
  18. }