correct name of number of sleep queues

This commit is contained in:
kmacy 2006-12-16 07:50:39 +00:00
parent ea0aa342d9
commit 4e5f5353fb

View File

@ -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));