summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ospf6d/log.c
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-11-03 07:40:31 +0000
committerbluhm <bluhm@openbsd.org>2014-11-03 07:40:31 +0000
commitd1fe7d6d833fc6c6d9e577777a1071995ffb194a (patch)
treef940fc520d79cc5cb4111be6aaa0c046bca0d10f /usr.sbin/ospf6d/log.c
parentAdd hooks to override native arc4random_buf on FreeBSD. (diff)
downloadwireguard-openbsd-d1fe7d6d833fc6c6d9e577777a1071995ffb194a.tar.xz
wireguard-openbsd-d1fe7d6d833fc6c6d9e577777a1071995ffb194a.zip
Convert the logic in yyerror(). Instead of creating a temporary
format string, create a temporary message. OK deraadt@ claudio@
Diffstat (limited to 'usr.sbin/ospf6d/log.c')
-rw-r--r--usr.sbin/ospf6d/log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/log.c b/usr.sbin/ospf6d/log.c
index 34d1efca6ca..1bbf505074f 100644
--- a/usr.sbin/ospf6d/log.c
+++ b/usr.sbin/ospf6d/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.10 2012/10/22 07:28:49 bluhm Exp $ */
+/* $OpenBSD: log.c,v 1.11 2014/11/03 07:40:31 bluhm Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -43,8 +43,6 @@ static const char * const procnames[] = {
int debug;
int verbose;
-void logit(int, const char *, ...);
-
void
log_init(int n_debug)
{