diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-12-31 15:56:04 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-12-31 15:56:04 +0000 |
commit | 2a3330b81a085a0dd5271c983fe9e8996385248d (patch) | |
tree | 09eec0a626a37837dc1e5aab41d4dc11333a2b23 /sys/kern/kern_switch.c | |
parent | 75d8013fc1902ad0d9d84ee6a0327f41c8258d69 (diff) | |
download | FreeBSD-src-2a3330b81a085a0dd5271c983fe9e8996385248d.zip FreeBSD-src-2a3330b81a085a0dd5271c983fe9e8996385248d.tar.gz |
Prefer a more traditional spelling of inhibited in comments and panic
messages.
Diffstat (limited to 'sys/kern/kern_switch.c')
-rw-r--r-- | sys/kern/kern_switch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_switch.c b/sys/kern/kern_switch.c index 039c781..f1f81af 100644 --- a/sys/kern/kern_switch.c +++ b/sys/kern/kern_switch.c @@ -186,7 +186,7 @@ setrunqueue(struct thread *td, int flags) curthread->td_proc->p_comm); mtx_assert(&sched_lock, MA_OWNED); KASSERT((td->td_inhibitors == 0), - ("setrunqueue: trying to run inhibitted thread")); + ("setrunqueue: trying to run inhibited thread")); KASSERT((TD_CAN_RUN(td) || TD_IS_RUNNING(td)), ("setrunqueue: bad thread state")); TD_SET_RUNQ(td); @@ -279,7 +279,7 @@ maybe_preempt(struct thread *td) KASSERT ((ctd->td_sched != NULL && ctd->td_sched->ts_thread == ctd), ("thread has no (or wrong) sched-private part.")); KASSERT((td->td_inhibitors == 0), - ("maybe_preempt: trying to run inhibitted thread")); + ("maybe_preempt: trying to run inhibited thread")); pri = td->td_priority; cpri = ctd->td_priority; if (panicstr != NULL || pri >= cpri || cold /* || dumping */ || |