diff options
author | bluhm <bluhm@openbsd.org> | 2014-11-03 07:40:31 +0000 |
---|---|---|
committer | bluhm <bluhm@openbsd.org> | 2014-11-03 07:40:31 +0000 |
commit | d1fe7d6d833fc6c6d9e577777a1071995ffb194a (patch) | |
tree | f940fc520d79cc5cb4111be6aaa0c046bca0d10f /usr.sbin/ospfd/log.c | |
parent | Add hooks to override native arc4random_buf on FreeBSD. (diff) | |
download | wireguard-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/ospfd/log.c')
-rw-r--r-- | usr.sbin/ospfd/log.c | 4 |
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) { |