summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2006-11-15 17:25:41 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2006-11-15 17:25:41 +0000
commite18952f867bd725a272116b9df6aae3be96e5489 (patch)
tree46502b80496aea2dd9caa3659e98b4f2b0761e73 /sys
parent73ecd14bdf4f2b776887ebff4d9cfea758750261 (diff)
typos; from bret lambert
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_event.c6
-rw-r--r--sys/kern/kern_exec.c4
-rw-r--r--sys/kern/kern_lkm.c4
-rw-r--r--sys/kern/kern_physio.c6
-rw-r--r--sys/kern/kern_tc.c4
-rw-r--r--sys/kern/sched_bsd.c4
6 files changed, 14 insertions, 14 deletions
diff --git a/sys/kern/kern_event.c b/sys/kern/kern_event.c
index 0eabced16b6..dbd9147a87d 100644
--- a/sys/kern/kern_event.c
+++ b/sys/kern/kern_event.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_event.c,v 1.26 2005/11/21 18:16:45 millert Exp $ */
+/* $OpenBSD: kern_event.c,v 1.27 2006/11/15 17:25:40 jmc Exp $ */
/*-
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
@@ -423,7 +423,7 @@ kqueue_register(struct kqueue *kq, struct kevent *kev, struct proc *p)
if (fops == NULL) {
/*
* XXX
- * filter attach routine is responsible for insuring that
+ * filter attach routine is responsible for ensuring that
* the identifier can be attached to it.
*/
return (EINVAL);
@@ -499,7 +499,7 @@ kqueue_register(struct kqueue *kq, struct kevent *kev, struct proc *p)
/*
* The user may change some filter values after the
* initial EV_ADD, but doing so will not reset any
- * filter which have already been triggered.
+ * filters which have already been triggered.
*/
kn->kn_sfflags = kev->fflags;
kn->kn_sdata = kev->data;
diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c
index 2fa21ab332f..7116c4ee57a 100644
--- a/sys/kern/kern_exec.c
+++ b/sys/kern/kern_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_exec.c,v 1.99 2006/01/19 17:54:47 mickey Exp $ */
+/* $OpenBSD: kern_exec.c,v 1.100 2006/11/15 17:25:40 jmc Exp $ */
/* $NetBSD: kern_exec.c,v 1.75 1996/02/09 18:59:28 christos Exp $ */
/*-
@@ -517,7 +517,7 @@ sys_execve(struct proc *p, void *v, register_t *retval)
/*
* NOTE - This will never return NULL because of
- * unmature fds. The file descriptor table is not
+ * immature fds. The file descriptor table is not
* shared because we're suid.
*/
fp = fd_getfile(p->p_fd, i);
diff --git a/sys/kern/kern_lkm.c b/sys/kern/kern_lkm.c
index 9b26605a14b..8abf7606f98 100644
--- a/sys/kern/kern_lkm.c
+++ b/sys/kern/kern_lkm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_lkm.c,v 1.42 2005/11/28 00:14:28 jsg Exp $ */
+/* $OpenBSD: kern_lkm.c,v 1.43 2006/11/15 17:25:40 jmc Exp $ */
/* $NetBSD: kern_lkm.c,v 1.31 1996/03/31 21:40:27 christos Exp $ */
/*
@@ -156,7 +156,7 @@ lkmalloc(void)
ret->sym_id = -1;
/*
* walk the list finding the first free id. as long as the list is
- * kept sorted this is not too ineffcient, which is why we insert in
+ * kept sorted this is not too inefficient, which is why we insert in
* order below.
*/
TAILQ_FOREACH(p, &lkmods, list) {
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c
index 5a31a3aa7d4..436436be615 100644
--- a/sys/kern/kern_physio.c
+++ b/sys/kern/kern_physio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_physio.c,v 1.24 2005/12/08 14:02:47 krw Exp $ */
+/* $OpenBSD: kern_physio.c,v 1.25 2006/11/15 17:25:40 jmc Exp $ */
/* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */
/*-
@@ -116,7 +116,7 @@ physio(void (*strategy)(struct buf *), struct buf *bp, dev_t dev, int flags,
/*
* [mark the buffer busy for physical I/O]
* (i.e. set B_PHYS (because it's an I/O to user
- * memory, and B_RAW, because B_RAW is to be
+ * memory), and B_RAW, because B_RAW is to be
* "Set by physio for raw transfers.", in addition
* to the "busy" and read/write flag.)
*/
@@ -242,7 +242,7 @@ done:
else {
/*
* [if another process is waiting for the raw I/O buffer,
- * wake up processes waiting to do physical I/O;
+ * wake up processes waiting to do physical I/O]
*/
if (bp->b_flags & B_WANTED) {
bp->b_flags &= ~B_WANTED;
diff --git a/sys/kern/kern_tc.c b/sys/kern/kern_tc.c
index 2a7d7d3efee..c7c7256c68e 100644
--- a/sys/kern/kern_tc.c
+++ b/sys/kern/kern_tc.c
@@ -6,7 +6,7 @@
* this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp
* ----------------------------------------------------------------------------
*
- * $OpenBSD: kern_tc.c,v 1.6 2006/10/30 20:19:33 otto Exp $
+ * $OpenBSD: kern_tc.c,v 1.7 2006/11/15 17:25:40 jmc Exp $
* $FreeBSD: src/sys/kern/kern_tc.c,v 1.148 2003/03/18 08:45:23 phk Exp $
*/
@@ -588,7 +588,7 @@ ntp_update_second(int64_t *adjust, time_t *sec)
{
struct timeval adj;
- /* Slew time according to any adjtime(2) adjustments. */
+ /* Skew time according to any adjtime(2) adjustments. */
timerclear(&adj);
if (adjtimedelta.tv_sec > 0)
adj.tv_usec = 5000;
diff --git a/sys/kern/sched_bsd.c b/sys/kern/sched_bsd.c
index a08ffe13011..45c76eb7a3a 100644
--- a/sys/kern/sched_bsd.c
+++ b/sys/kern/sched_bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sched_bsd.c,v 1.7 2006/10/21 02:18:00 tedu Exp $ */
+/* $OpenBSD: sched_bsd.c,v 1.8 2006/11/15 17:25:40 jmc Exp $ */
/* $NetBSD: kern_synch.c,v 1.37 1996/04/22 01:38:37 christos Exp $ */
/*-
@@ -243,7 +243,7 @@ fixpt_t ccpu = 0.95122942450071400909 * FSCALE; /* exp(-1/20) */
* To estimate CCPU_SHIFT for exp(-1/20), the following formula was used:
* 1 - exp(-1/20) ~= 0.0487 ~= 0.0488 == 1 (fixed pt, *11* bits).
*
- * If you dont want to bother with the faster/more-accurate formula, you
+ * If you don't want to bother with the faster/more-accurate formula, you
* can set CCPU_SHIFT to (FSHIFT + 1) which will use a slower/less-accurate
* (more general) method of calculating the %age of CPU used by a process.
*/