summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/log.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-03 20:15:32 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-03 20:15:32 +0000
commitfcf0b72c56d982455238aafebbc4db83e1ed89b1 (patch)
tree2d785f9d5a446ed79ea27e6c16266195bfe14137 /usr.sbin/ntpd/log.c
parent11976ea5f567229a1445daaebcc5318fae231766 (diff)
Convert the logic in yyerror(). Instead of creating a temporary
format string, create a temporary message. OK claudio@
Diffstat (limited to 'usr.sbin/ntpd/log.c')
-rw-r--r--usr.sbin/ntpd/log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ntpd/log.c b/usr.sbin/ntpd/log.c
index c297efe739d..0db0245c46e 100644
--- a/usr.sbin/ntpd/log.c
+++ b/usr.sbin/ntpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.8 2007/08/22 21:04:30 ckuethe Exp $ */
+/* $OpenBSD: log.c,v 1.9 2014/11/03 20:15:30 bluhm Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -29,8 +29,6 @@
int debug;
extern int debugsyslog;
-void logit(int, const char *, ...);
-
void
log_init(int n_debug)
{