diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-07-20 23:29:25 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-07-20 23:29:25 +0000 |
| commit | a5dd141db658bc635de725a122d18698d5aaafc3 (patch) | |
| tree | 814f4691a827c8931841257381e3094142e4be44 /sys | |
| parent | 5ecfb8f922134f3994726c5d7ec8956aa0526da9 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/kern/subr_witness.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_witness.c b/sys/kern/subr_witness.c index df2516860619..c4744b3579fd 100644 --- a/sys/kern/subr_witness.c +++ b/sys/kern/subr_witness.c @@ -393,7 +393,7 @@ witness_destroy(struct lock_object *lock) mtx_lock(&all_mtx); lock_cur_cnt--; STAILQ_REMOVE(&all_locks, lock, lock_object, lo_list); - lock->lo_flags &= LO_INITIALIZED; + lock->lo_flags &= ~LO_INITIALIZED; mtx_unlock(&all_mtx); } |
