summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-21 23:17:54 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-21 23:17:54 +0000
commitc0e61cc2c9076d79030b46b50b9f01aa31e4cd20 (patch)
treed584699eff22d779786a01a9cf91f8c82fcf28ee
parent8457d52edd104d4996c3c3c8894f770214c632e8 (diff)
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);
}
}