summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-12-21 23:17:53 +0000
committerhenning <henning@openbsd.org>2003-12-21 23:17:53 +0000
commit02b51cad879457c6b408f4cc67c72fd6233219c3 (patch)
treef552336fb7753d5d7756bb6d62c290a9927b42d8
parentoverhaul the write buffering code. (diff)
downloadwireguard-openbsd-02b51cad879457c6b408f4cc67c72fd6233219c3.tar.xz
wireguard-openbsd-02b51cad879457c6b408f4cc67c72fd6233219c3.zip
little KNF inbetween
-rw-r--r--usr.sbin/bgpd/log.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c
index 60af8d26c8b..80ab0d4cecf 100644
--- a/usr.sbin/bgpd/log.c
+++ b/usr.sbin/bgpd/log.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: log.c,v 1.3 2003/12/20 18:32:22 henning Exp $ */
+/* $OpenBSD: log.c,v 1.4 2003/12/21 23:17:53 henning Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -272,8 +272,8 @@ log_notification(struct peer *peer, u_int8_t errcode, u_int8_t subcode,
uk = 1;
break;
default:
- logit(LOG_CRIT, "%s: received notification, unknown errcode %u, "
- "subcode %u", p, errcode, subcode);
+ logit(LOG_CRIT, "%s: received notification, unknown errcode "
+ "%u, subcode %u", p, errcode, subcode);
free(p);
return;
}
@@ -303,8 +303,8 @@ log_conn_attempt(struct peer *peer, struct in_addr remote)
inet_ntoa(remote));
else {
p = log_fmt_peer(peer);
- logit(LOG_INFO, "Connection attempt from %s while session is in "
- "state %s", p, statenames[peer->state]);
+ logit(LOG_INFO, "Connection attempt from %s while session is "
+ "in state %s", p, statenames[peer->state]);
free(p);
}
}