summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_proc.c
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2002-08-11 13:05:30 +0000
committerschweikh <schweikh@FreeBSD.org>2002-08-11 13:05:30 +0000
commitb2bb39b1ebc96a74fcafa5329db783dcc556511b (patch)
tree359b8f6a3bb21f89fd8f77d83575d82b0f750df2 /sys/kern/kern_proc.c
parent544b3fb6045b998a316e58f4dc0ad30a05280df1 (diff)
downloadFreeBSD-src-b2bb39b1ebc96a74fcafa5329db783dcc556511b.zip
FreeBSD-src-b2bb39b1ebc96a74fcafa5329db783dcc556511b.tar.gz
Fix typos; each file has at least one s/seperat/separat/
(I skipped those in contrib/, gnu/ and crypto/) While I was at it, fixed a lot more found by ispell that I could identify with certainty to be errors. All of these were in comments or text, not in actual code. Suggested by: bde MFC after: 3 days
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r--sys/kern/kern_proc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 6cf9fe9..d285f3e 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -165,7 +165,7 @@ proc_dtor(void *mem, int size, void *arg)
("size mismatch: %d != %d\n", size, (int)sizeof(struct proc)));
p = (struct proc *)mem;
/* INVARIANTS checks go here */
-#if 0 /* See comment in proc_ctor about seperating things */
+#if 0 /* See comment in proc_ctor about separating things */
mtx_destroy(&p->p_mtx);
#endif
active_procs--;
@@ -239,7 +239,7 @@ ksegrp_link(struct ksegrp *kg, struct proc *p)
kg->kg_kses = 0;
kg->kg_idle_kses = 0;
kg->kg_runq_kses = 0; /* XXXKSE change name */
-/* link it in now that it's consitant */
+/* link it in now that it's consistent */
p->p_numksegrps++;
TAILQ_INSERT_HEAD(&p->p_ksegrps, kg, kg_ksegrp);
}
@@ -295,7 +295,7 @@ int kse_wakeup(struct thread *td, struct kse_wakeup_args *uap)
/*
* No new KSEG: first call: use current KSE, don't schedule an upcall
- * All other situations, do alloate a new KSE and schedule an upcall on it.
+ * All other situations, do allocate a new KSE and schedule an upcall on it.
*/
/* struct kse_new_args {
struct kse_mailbox *mbx;
@@ -358,7 +358,7 @@ kse_new(struct thread *td, struct kse_new_args *uap)
thread_schedule_upcall(td, newkse);
} else {
/*
- * Don't set this until we are truely ready, because
+ * Don't set this until we are truly ready, because
* things will start acting differently. Return to the
* calling code for the first time. Assuming we set up
* the mailboxes right, all syscalls after this will be
@@ -841,7 +841,7 @@ fill_kinfo_proc(p, kp)
}
}
- if (p->p_state == PRS_NORMAL) { /* XXXKSE very aproximate */
+ if (p->p_state == PRS_NORMAL) { /* XXXKSE very approximate */
if ((td->td_state == TDS_RUNQ) ||
(td->td_state == TDS_RUNNING)) {
kp->ki_stat = SRUN;
OpenPOWER on IntegriCloud