diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-11-03 20:15:32 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2014-11-03 20:15:32 +0000 |
commit | fcf0b72c56d982455238aafebbc4db83e1ed89b1 (patch) | |
tree | 2d785f9d5a446ed79ea27e6c16266195bfe14137 /usr.sbin/ntpd/log.c | |
parent | 11976ea5f567229a1445daaebcc5318fae231766 (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.c | 4 |
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) { |