summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorschweikh <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
committerschweikh <schweikh@FreeBSD.org>2003-01-01 18:49:04 +0000
commitd3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8 (patch)
treef412dafc7d29429919e8770cdefeb37441fc1299 /sys/kern
parent718a7892bc6da2237db71c255051dd54a4e93a92 (diff)
downloadFreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.zip
FreeBSD-src-d3367c5f5d3ddcc6824d8f41c4cf179f9a5588f8.tar.gz
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/imgact_gzip.c2
-rw-r--r--sys/kern/imgact_shell.c2
-rw-r--r--sys/kern/subr_bus.c4
-rw-r--r--sys/kern/subr_clist.c2
-rw-r--r--sys/kern/tty_subr.c2
-rw-r--r--sys/kern/vfs_bio.c2
6 files changed, 7 insertions, 7 deletions
diff --git a/sys/kern/imgact_gzip.c b/sys/kern/imgact_gzip.c
index 1ea1ad4..4e0d6bc 100644
--- a/sys/kern/imgact_gzip.c
+++ b/sys/kern/imgact_gzip.c
@@ -329,7 +329,7 @@ Flush(void *vp, u_char * ptr, u_long siz)
u_char *p = ptr, *q;
int i;
- /* First, find a a.out-header */
+ /* First, find an a.out-header. */
if (gz->output < sizeof gz->a_out) {
q = (u_char *) & gz->a_out;
i = min(siz, sizeof gz->a_out - gz->output);
diff --git a/sys/kern/imgact_shell.c b/sys/kern/imgact_shell.c
index 3df4890..7151f6c 100644
--- a/sys/kern/imgact_shell.c
+++ b/sys/kern/imgact_shell.c
@@ -40,7 +40,7 @@
#endif
/*
- * Shell interpreter image activator. A interpreter name beginning
+ * Shell interpreter image activator. An interpreter name beginning
* at imgp->stringbase is the minimal successful exit requirement.
*/
int
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index dddea788..7444a00 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -193,8 +193,8 @@ void print_devclass_list(void);
* Also note: we specifically do not attach a device to the device_t tree
* to avoid potential chicken and egg problems. One could argue that all
* of this belongs to the root node. One could also further argue that the
- * sysctl interface that we have not might more properly be a ioctl
- * interface, but at this stage of the game, I'm not inclinde to rock that
+ * sysctl interface that we have not might more properly be an ioctl
+ * interface, but at this stage of the game, I'm not inclined to rock that
* boat.
*
* I'm also not sure that the SIGIO support is done correctly or not, as
diff --git a/sys/kern/subr_clist.c b/sys/kern/subr_clist.c
index 78bb231..165f628 100644
--- a/sys/kern/subr_clist.c
+++ b/sys/kern/subr_clist.c
@@ -149,7 +149,7 @@ cblock_alloc_cblocks(number)
}
/*
- * Set the cblock allocation policy for a a clist.
+ * Set the cblock allocation policy for a clist.
* Must be called in process context at spltty().
*/
void
diff --git a/sys/kern/tty_subr.c b/sys/kern/tty_subr.c
index 78bb231..165f628 100644
--- a/sys/kern/tty_subr.c
+++ b/sys/kern/tty_subr.c
@@ -149,7 +149,7 @@ cblock_alloc_cblocks(number)
}
/*
- * Set the cblock allocation policy for a a clist.
+ * Set the cblock allocation policy for a clist.
* Must be called in process context at spltty().
*/
void
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index c44e1c6..336ca3f 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -2932,7 +2932,7 @@ bioq_remove(struct bio_queue_head *head, struct bio *bp)
* bufwait:
*
* Wait for buffer I/O completion, returning error status. The buffer
- * is left locked and B_DONE on return. B_EINTR is converted into a EINTR
+ * is left locked and B_DONE on return. B_EINTR is converted into an EINTR
* error and cleared.
*/
int
OpenPOWER on IntegriCloud