diff options
| author | Warner Losh <imp@FreeBSD.org> | 2005-11-09 07:28:52 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2005-11-09 07:28:52 +0000 |
| commit | 2002eaadb7fa764ec32c00467fca646c6d6822a6 (patch) | |
| tree | 690590d66b64f8222da7b1b0d745c0581fb6738c /sys/kern/subr_sleepqueue.c | |
| parent | 43ce714039f3d7571ef698daf58f85f81c4e5b84 (diff) | |
Notes
Diffstat (limited to 'sys/kern/subr_sleepqueue.c')
| -rw-r--r-- | sys/kern/subr_sleepqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_sleepqueue.c b/sys/kern/subr_sleepqueue.c index 092c5c28bc3b..8443a7ffeaf2 100644 --- a/sys/kern/subr_sleepqueue.c +++ b/sys/kern/subr_sleepqueue.c @@ -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); |
