summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMichael Knudsen <mk@cvs.openbsd.org>2007-09-12 18:45:15 +0000
committerMichael Knudsen <mk@cvs.openbsd.org>2007-09-12 18:45:15 +0000
commit686a66fd14ac65920ed413c064f082baa2c970c6 (patch)
treedc48e3d2d3c07561ce469e12baed7b1b301d8766 /sys/dev
parentcdd25cbf34611ba7748b414a7991ac18b7611803 (diff)
There is no such word as `detatch'.
ok mglocker
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ccd.c4
-rw-r--r--sys/dev/usb/if_wi_usb.c4
-rw-r--r--sys/dev/vnd.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c
index 8e01b5533a7..5c05feb4dd6 100644
--- a/sys/dev/ccd.c
+++ b/sys/dev/ccd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccd.c,v 1.81 2007/09/11 13:39:33 gilles Exp $ */
+/* $OpenBSD: ccd.c,v 1.82 2007/09/12 18:45:14 mk Exp $ */
/* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */
/*-
@@ -1189,7 +1189,7 @@ ccdioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
free(ccddevs[unit].ccd_vpp, M_DEVBUF);
bcopy(&ccd, &ccddevs[unit], sizeof(ccd));
- /* Detatch the disk. */
+ /* Detach the disk. */
disk_detach(&cs->sc_dkdev);
/* This must be atomic. */
diff --git a/sys/dev/usb/if_wi_usb.c b/sys/dev/usb/if_wi_usb.c
index da4b6ee0389..12265c62103 100644
--- a/sys/dev/usb/if_wi_usb.c
+++ b/sys/dev/usb/if_wi_usb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wi_usb.c,v 1.42 2007/06/14 10:11:15 mbalmer Exp $ */
+/* $OpenBSD: if_wi_usb.c,v 1.43 2007/09/12 18:45:14 mk Exp $ */
/*
* Copyright (c) 2003 Dale Rahn. All rights reserved.
@@ -422,7 +422,7 @@ wi_usb_detach(struct device *self, int flags)
/* tasks? */
s = splusb();
- /* detatch wi */
+ /* detach wi */
if (!(wsc->wi_flags & WI_FLAGS_ATTACHED)) {
printf("%s: already detached\n", sc->wi_usb_dev.dv_xname);
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index e6fbb70de64..7e7549df0b0 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.81 2007/09/11 13:39:33 gilles Exp $ */
+/* $OpenBSD: vnd.c,v 1.82 2007/09/12 18:45:14 mk Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -838,7 +838,7 @@ vndioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
free(vnd->sc_keyctx, M_DEVBUF);
}
- /* Detatch the disk. */
+ /* Detach the disk. */
disk_detach(&vnd->sc_dk);
/* This must be atomic. */