aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_conf.c
diff options
context:
space:
mode:
authorLukas Ertl <le@FreeBSD.org>2004-06-22 20:22:24 +0000
committerLukas Ertl <le@FreeBSD.org>2004-06-22 20:22:24 +0000
commit9a98ae94baed4edebaa69eb9999a52bcb0706ca8 (patch)
tree9c2bc873d503ba3987880c2113ad3dc0212dbcb1 /sys/kern/kern_conf.c
parent05344e57f61732f49406b3a357ad3bb2b53b6043 (diff)
downloadsrc-9a98ae94baed4edebaa69eb9999a52bcb0706ca8.tar.gz
src-9a98ae94baed4edebaa69eb9999a52bcb0706ca8.zip
Fix a few spelling mistakes in comments and clean them up a bit.
Notes
Notes: svn path=/head/; revision=130936
Diffstat (limited to 'sys/kern/kern_conf.c')
-rw-r--r--sys/kern/kern_conf.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_conf.c b/sys/kern/kern_conf.c
index b417b730adfb..a2531b29a176 100644
--- a/sys/kern/kern_conf.c
+++ b/sys/kern/kern_conf.c
@@ -50,7 +50,7 @@ static MALLOC_DEFINE(M_DEVT, "struct cdev *", "struct cdev *storage");
extern unsigned char reserved_majors[256];
/*
- * This is the number of hash-buckets. Experiements with 'real-life'
+ * This is the number of hash-buckets. Experiments with 'real-life'
* dev_t's show that a prime halfway between two powers of two works
* best.
*/
@@ -241,7 +241,7 @@ devsw(struct cdev *dev)
}
/*
- * struct cdev *and u_dev_t primitives
+ * struct cdev * and u_dev_t primitives
*/
int
@@ -675,8 +675,8 @@ dev_stdclone(char *name, char **namep, const char *stem, int *unit)
* we do "on-demand" devices, using rman or other "private" methods
* will be very tricky to lock down properly once we lock down this file.
*
- * Instead we give the drivers these routines which puts the struct cdev *'s that
- * are to be managed on their own list, and gives the driver the ability
+ * Instead we give the drivers these routines which puts the struct cdev *'s
+ * that are to be managed on their own list, and gives the driver the ability
* to ask for the first free unit number or a given specified unit number.
*
* In addition these routines support paired devices (pty, nmdm and similar)
@@ -781,7 +781,7 @@ clone_cleanup(struct clonedevs **cdp)
}
/*
- * Helper sysctl for devname(3). We're given a {u}struct cdev *and return
+ * Helper sysctl for devname(3). We're given a struct cdev * and return
* the name, if any, registered by the device driver.
*/
static int