correct name of number of sleep queues
This commit is contained in:
parent
ea0aa342d9
commit
4e5f5353fb
@ -297,7 +297,7 @@ sleepq_add(void *wchan, struct lock_object *lock, const char *wmesg, int flags,
|
||||
if (sq == NULL) {
|
||||
#ifdef INVARIANTS
|
||||
int i;
|
||||
for (i = 0; i < NR_SLEEP_QUEUEUS; i++)
|
||||
for (i = 0; i < NR_SLEEPQS; i++)
|
||||
KASSERT(TAILQ_EMPTY(&sq->sq_blocked[i]),
|
||||
("thread's sleep queue %d is not empty", i));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user