diff options
author | Michael Knudsen <mk@cvs.openbsd.org> | 2007-09-12 18:45:15 +0000 |
---|---|---|
committer | Michael Knudsen <mk@cvs.openbsd.org> | 2007-09-12 18:45:15 +0000 |
commit | 686a66fd14ac65920ed413c064f082baa2c970c6 (patch) | |
tree | dc48e3d2d3c07561ce469e12baed7b1b301d8766 | |
parent | cdd25cbf34611ba7748b414a7991ac18b7611803 (diff) |
There is no such word as `detatch'.
ok mglocker
-rw-r--r-- | sys/dev/ccd.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_wi_usb.c | 4 | ||||
-rw-r--r-- | sys/dev/vnd.c | 4 | ||||
-rw-r--r-- | sys/netnatm/natm.c | 4 | ||||
-rw-r--r-- | sys/sys/protosw.h | 4 |
5 files changed, 10 insertions, 10 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. */ diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index 8022034e207..1703760ac12 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: natm.c,v 1.7 2006/03/04 22:40:16 brad Exp $ */ +/* $OpenBSD: natm.c,v 1.8 2007/09/12 18:45:14 mk Exp $ */ /* * @@ -305,7 +305,7 @@ struct proc *p; case PRU_LISTEN: /* listen for connection */ case PRU_ACCEPT: /* accept connection from peer */ case PRU_CONNECT2: /* connect two sockets */ - case PRU_ABORT: /* abort (fast DISCONNECT, DETATCH) */ + case PRU_ABORT: /* abort (fast DISCONNECT, DETACH) */ /* (only happens if LISTEN socket) */ case PRU_RCVD: /* have taken data; more room now */ case PRU_FASTTIMO: /* 200ms timeout */ diff --git a/sys/sys/protosw.h b/sys/sys/protosw.h index b4dfab9fa54..821b58cc406 100644 --- a/sys/sys/protosw.h +++ b/sys/sys/protosw.h @@ -1,4 +1,4 @@ -/* $OpenBSD: protosw.h,v 1.9 2003/06/02 23:28:21 millert Exp $ */ +/* $OpenBSD: protosw.h,v 1.10 2007/09/12 18:45:14 mk Exp $ */ /* $NetBSD: protosw.h,v 1.10 1996/04/09 20:55:32 cgd Exp $ */ /*- @@ -128,7 +128,7 @@ struct protosw { #define PRU_SHUTDOWN 7 /* won't send any more data */ #define PRU_RCVD 8 /* have taken data; more room now */ #define PRU_SEND 9 /* send this data */ -#define PRU_ABORT 10 /* abort (fast DISCONNECT, DETATCH) */ +#define PRU_ABORT 10 /* abort (fast DISCONNECT, DETACH) */ #define PRU_CONTROL 11 /* control operations on protocol */ #define PRU_SENSE 12 /* return status into m */ #define PRU_RCVOOB 13 /* retrieve out of band data */ |