correct name of number of sleep queues

This commit is contained in:
Kip Macy 2006-12-16 07:50:39 +00:00
parent c3b65db84f
commit bd9275b4c4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165275

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