summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2006-12-21 02:05:46 +0000
committerkrw <krw@openbsd.org>2006-12-21 02:05:46 +0000
commit1d03be5f5189e37037b55800c72b03fdab807624 (patch)
tree3df927756ef9059348567239a0c80ce821e0a853
parentECs are weird in that they generate many interrupts. One for the actual (diff)
downloadwireguard-openbsd-1d03be5f5189e37037b55800c72b03fdab807624.tar.xz
wireguard-openbsd-1d03be5f5189e37037b55800c72b03fdab807624.zip
Fix some comment typos. 'immediatly' -> 'immediately', 'tranfer' ->
'transfer', 'tranfered' -> 'transferred'.
-rw-r--r--sys/scsi/scsi_changer.h4
-rw-r--r--sys/scsi/scsi_ioctl.c4
-rw-r--r--sys/scsi/sd.c4
-rw-r--r--sys/scsi/ss.c4
-rw-r--r--sys/scsi/st.c6
5 files changed, 11 insertions, 11 deletions
diff --git a/sys/scsi/scsi_changer.h b/sys/scsi/scsi_changer.h
index e20f2a0714f..7c23156fa69 100644
--- a/sys/scsi/scsi_changer.h
+++ b/sys/scsi/scsi_changer.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_changer.h,v 1.4 2006/05/31 03:01:44 beck Exp $ */
+/* $OpenBSD: scsi_changer.h,v 1.5 2006/12/21 02:05:46 krw Exp $ */
/* $NetBSD: scsi_changer.h,v 1.7 1996/04/03 00:25:48 thorpej Exp $ */
/*
@@ -281,7 +281,7 @@ struct read_element_status_descriptor {
* MT Medium transport element (picker)
* ST Storage transport element (slot)
* IE Import/export element (portal)
- * DT Data tranfer element (tape/disk drive)
+ * DT Data transfer element (tape/disk drive)
*/
struct page_device_capabilities {
u_int8_t pg_code; /* page code (0x1f) */
diff --git a/sys/scsi/scsi_ioctl.c b/sys/scsi/scsi_ioctl.c
index ffc9a4e1127..41e48bf2fd6 100644
--- a/sys/scsi/scsi_ioctl.c
+++ b/sys/scsi/scsi_ioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: scsi_ioctl.c,v 1.26 2006/07/23 02:50:20 dlg Exp $ */
+/* $OpenBSD: scsi_ioctl.c,v 1.27 2006/12/21 02:05:46 krw Exp $ */
/* $NetBSD: scsi_ioctl.c,v 1.23 1996/10/12 23:23:17 christos Exp $ */
/*
@@ -304,7 +304,7 @@ scsistrategy(struct buf *bp)
0, /* user must do the retries *//* ignored */
screq->timeout, bp, flags | SCSI_USER | SCSI_NOSLEEP);
- /* because there is a bp, scsi_scsi_cmd will return immediatly */
+ /* because there is a bp, scsi_scsi_cmd will return immediately */
if (error)
goto bad;
diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c
index b65b219aead..054d925e3e4 100644
--- a/sys/scsi/sd.c
+++ b/sys/scsi/sd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sd.c,v 1.115 2006/12/12 02:44:36 krw Exp $ */
+/* $OpenBSD: sd.c,v 1.116 2006/12/21 02:05:46 krw Exp $ */
/* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */
/*-
@@ -538,7 +538,7 @@ sdstrategy(bp)
goto bad;
}
/*
- * If it's a null transfer, return immediatly
+ * If it's a null transfer, return immediately
*/
if (bp->b_bcount == 0)
goto done;
diff --git a/sys/scsi/ss.c b/sys/scsi/ss.c
index 7a66324be18..aae87891719 100644
--- a/sys/scsi/ss.c
+++ b/sys/scsi/ss.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ss.c,v 1.57 2006/11/28 16:56:50 dlg Exp $ */
+/* $OpenBSD: ss.c,v 1.58 2006/12/21 02:05:46 krw Exp $ */
/* $NetBSD: ss.c,v 1.10 1996/05/05 19:52:55 christos Exp $ */
/*
@@ -572,7 +572,7 @@ ssstrategy(bp)
bp->b_bcount = ss->sio.scan_window_size;
/*
- * If it's a null transfer, return immediatly
+ * If it's a null transfer, return immediately
*/
if (bp->b_bcount == 0)
goto done;
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index f7a08483410..810e420c3ec 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.69 2006/12/12 02:44:36 krw Exp $ */
+/* $OpenBSD: st.c,v 1.70 2006/12/21 02:05:46 krw Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -1238,7 +1238,7 @@ st_read(st, buf, size, flags)
struct scsi_rw_tape cmd;
/*
- * If it's a null transfer, return immediatly
+ * If it's a null transfer, return immediately
*/
if (size == 0)
return 0;
@@ -1830,7 +1830,7 @@ st_interpret_sense(xs)
st->blksize -= 512;
}
/*
- * If no data was tranfered, do it immediatly
+ * If no data was transferred, return immediately
*/
if (xs->resid >= xs->datalen) {
if (st->flags & ST_EIO_PENDING)