correct name of number of sleep queues
This commit is contained in:
parent
c3b65db84f
commit
bd9275b4c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165275
@ -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