summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
diff options
context:
space:
mode:
authorBrent Cook <bcook@cvs.openbsd.org>2015-01-08 05:34:22 +0000
committerBrent Cook <bcook@cvs.openbsd.org>2015-01-08 05:34:22 +0000
commit0b6eeb54a4c058b4b35b68d9951520c6c5543434 (patch)
treeb7646f77dabac2dd8441f1969f549b0ec80fc552 /usr.sbin/ntpd
parentf98a26b29d214d51e73366e8615d95783ff44194 (diff)
log as LOG_DAEMON in log_init again.
I mirrored from smtpd a little too literally.
Diffstat (limited to 'usr.sbin/ntpd')
-rw-r--r--usr.sbin/ntpd/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ntpd/log.c b/usr.sbin/ntpd/log.c
index 12b287184a5..1ce9a227e64 100644
--- a/usr.sbin/ntpd/log.c
+++ b/usr.sbin/ntpd/log.c
@@ -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();
}