summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/log.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-03 07:40:32 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2014-11-03 07:40:32 +0000
commit067f527ee6606a180d2607a2ea3441f66379b8c9 (patch)
treeed5540d3570452bb50a016c1a27c6e95c26c1487 /usr.sbin/ospfd/log.c
parentbe0ef37c7cadfb49edb12364808afc4ea14d2307 (diff)
Convert the logic in yyerror(). Instead of creating a temporary
format string, create a temporary message. OK deraadt@ claudio@
Diffstat (limited to 'usr.sbin/ospfd/log.c')
-rw-r--r--usr.sbin/ospfd/log.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/log.c b/usr.sbin/ospfd/log.c
index c75448e98c5..8fe81b24af1 100644
--- a/usr.sbin/ospfd/log.c
+++ b/usr.sbin/ospfd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.7 2011/08/20 11:16:09 sthen Exp $ */
+/* $OpenBSD: log.c,v 1.8 2014/11/03 07:40:31 bluhm Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -36,8 +36,6 @@ static const char * const procnames[] = {
int debug;
int verbose;
-void logit(int, const char *, ...);
-
void
log_init(int n_debug)
{