diff options
Diffstat (limited to 'sys/kern/subr_unit.c')
-rw-r--r-- | sys/kern/subr_unit.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_unit.c b/sys/kern/subr_unit.c index 910020d..764f26f 100644 --- a/sys/kern/subr_unit.c +++ b/sys/kern/subr_unit.c @@ -714,6 +714,7 @@ free_unr(struct unrhdr *uh, u_int item) { void *p1, *p2; + WITNESS_WARN(WARN_GIANTOK | WARN_SLEEPOK, NULL, "free_unr"); p1 = Malloc(sizeof(struct unr)); p2 = Malloc(sizeof(struct unr)); mtx_lock(uh->mtx); |