diff options
author | imp <imp@FreeBSD.org> | 2005-11-09 07:28:52 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2005-11-09 07:28:52 +0000 |
commit | 2f1cffe2641cec84c19eb4a381d6e0c8d0fc567c (patch) | |
tree | 690590d66b64f8222da7b1b0d745c0581fb6738c /sys | |
parent | de566991cb94f9b7232be75fc9da9d2aa1e8eef9 (diff) | |
download | FreeBSD-src-2f1cffe2641cec84c19eb4a381d6e0c8d0fc567c.zip FreeBSD-src-2f1cffe2641cec84c19eb4a381d6e0c8d0fc567c.tar.gz |
Clarify panic message, I parsed the old one 'trying to sleep while sleeping'
Diffstat (limited to 'sys')
-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 092c5c2..8443a7f 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); |