Clarify panic message, I parsed the old one 'trying to sleep while sleeping'
This commit is contained in:
parent
43ce714039
commit
2002eaadb7
@ -271,7 +271,7 @@ sleepq_add(void *wchan, struct mtx *lock, const char *wmesg, int flags)
|
||||
|
||||
/* If this thread is not allowed to sleep, die a horrible death. */
|
||||
KASSERT(!(td->td_pflags & TDP_NOSLEEPING),
|
||||
("trying to sleep while sleeping is prohibited"));
|
||||
("Trying sleep, but thread marked as sleeping prohibited"));
|
||||
|
||||
/* Look up the sleep queue associated with the wait channel 'wchan'. */
|
||||
sq = sleepq_lookup(wchan);
|
||||
|
Loading…
x
Reference in New Issue
Block a user