Fix some spacing in code under __FreeBSD__.

This commit is contained in:
Gleb Smirnoff 2012-01-11 14:24:03 +00:00
parent c4f01d2d34
commit 122d395f85

View File

@ -2068,7 +2068,7 @@ pfsync_drop(struct pfsync_softc *sc)
#ifdef PFSYNC_DEBUG #ifdef PFSYNC_DEBUG
#ifdef __FreeBSD__ #ifdef __FreeBSD__
KASSERT(st->sync_state == q, KASSERT(st->sync_state == q,
("%s: st->sync_state == q", ("%s: st->sync_state == q",
__FUNCTION__)); __FUNCTION__));
#else #else
KASSERT(st->sync_state == q); KASSERT(st->sync_state == q);
@ -2848,7 +2848,7 @@ pfsync_q_del(struct pf_state *st)
int q = st->sync_state; int q = st->sync_state;
#ifdef __FreeBSD__ #ifdef __FreeBSD__
KASSERT(st->sync_state != PFSYNC_S_NONE, KASSERT(st->sync_state != PFSYNC_S_NONE,
("%s: st->sync_state != PFSYNC_S_NONE", __FUNCTION__)); ("%s: st->sync_state != PFSYNC_S_NONE", __FUNCTION__));
#else #else
KASSERT(st->sync_state != PFSYNC_S_NONE); KASSERT(st->sync_state != PFSYNC_S_NONE);
@ -3348,14 +3348,14 @@ pfsync_multicast_cleanup(struct pfsync_softc *sc)
#ifdef INET #ifdef INET
extern struct domain inetdomain; extern struct domain inetdomain;
static struct protosw in_pfsync_protosw = { static struct protosw in_pfsync_protosw = {
.pr_type = SOCK_RAW, .pr_type = SOCK_RAW,
.pr_domain = &inetdomain, .pr_domain = &inetdomain,
.pr_protocol = IPPROTO_PFSYNC, .pr_protocol = IPPROTO_PFSYNC,
.pr_flags = PR_ATOMIC|PR_ADDR, .pr_flags = PR_ATOMIC|PR_ADDR,
.pr_input = pfsync_input, .pr_input = pfsync_input,
.pr_output = (pr_output_t *)rip_output, .pr_output = (pr_output_t *)rip_output,
.pr_ctloutput = rip_ctloutput, .pr_ctloutput = rip_ctloutput,
.pr_usrreqs = &rip_usrreqs .pr_usrreqs = &rip_usrreqs
}; };
#endif #endif