Move PF_LOCK_ASSERT() under __FreeBSD__.

This commit is contained in:
Gleb Smirnoff 2012-01-11 14:13:42 +00:00
parent 3488c2786e
commit 0744a28a79

View file

@ -681,9 +681,9 @@ pfsync_state_import(struct pfsync_state *sp, u_int8_t flags)
int pool_flags;
int error;
#ifdef __FreeBSD__
PF_LOCK_ASSERT();
#ifdef __FreeBSD__
if (sp->creatorid == 0 && V_pf_status.debug >= PF_DEBUG_MISC) {
#else
if (sp->creatorid == 0 && pf_status.debug >= PF_DEBUG_MISC) {