log as LOG_DAEMON in log_init again.
authorbcook <bcook@openbsd.org>
Thu, 8 Jan 2015 05:34:21 +0000 (05:34 +0000)
committerbcook <bcook@openbsd.org>
Thu, 8 Jan 2015 05:34:21 +0000 (05:34 +0000)
I mirrored from smtpd a little too literally.

usr.sbin/ntpd/log.c

index 12b2871..1ce9a22 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: log.c,v 1.10 2015/01/08 00:30:08 bcook Exp $  */
+/*     $OpenBSD: log.c,v 1.11 2015/01/08 05:34:21 bcook Exp $  */
 
 /*
  * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -47,7 +47,7 @@ log_init(int n_foreground)
 
        foreground = n_foreground;
        if (! foreground)
-               openlog(__progname, LOG_PID | LOG_NDELAY, LOG_MAIL);
+               openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON);
 
        tzset();
 }