mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-12 14:29:28 +00:00
Move PF_LOCK_ASSERT() under __FreeBSD__.
This commit is contained in:
parent
3488c2786e
commit
0744a28a79
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=229962
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user