summaryrefslogtreecommitdiff
path: root/sys/scsi/st.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-01-11 23:10:12 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-01-11 23:10:12 +0000
commitc98ffc84280f5e712f252f8e7ec0174916cc4b11 (patch)
treef8283f7541f24530d132e1af4155da900907091a /sys/scsi/st.c
parent5017e018207e2fd459c2cef01572b2925d09907b (diff)
spelling
Diffstat (limited to 'sys/scsi/st.c')
-rw-r--r--sys/scsi/st.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/scsi/st.c b/sys/scsi/st.c
index 104269ef3c9..7cee3848fa9 100644
--- a/sys/scsi/st.c
+++ b/sys/scsi/st.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: st.c,v 1.187 2021/10/24 16:57:30 mpi Exp $ */
+/* $OpenBSD: st.c,v 1.188 2022/01/11 23:10:11 jsg Exp $ */
/* $NetBSD: st.c,v 1.71 1997/02/21 23:03:49 thorpej Exp $ */
/*
@@ -394,7 +394,7 @@ stopen(dev_t dev, int flags, int fmt, struct proc *p)
SCSI_IGNORE_ILLEGAL_REQUEST);
/*
- * Terminate any exising mount session if there is no media.
+ * Terminate any existing mount session if there is no media.
*/
if (!ISSET(link->flags, SDEV_MEDIA_LOADED))
st_unmount(st, NOEJECT, DOREWIND);
@@ -1834,8 +1834,8 @@ st_rewind(struct st_softc *st, u_int immediate, int flags)
}
/*
- * Look at the returned sense and act on the error and detirmine
- * The unix error number to pass back... (0 = report no error)
+ * Look at the returned sense and act on the error to determine
+ * the unix error number to pass back... (0 = report no error)
* (-1 = continue processing)
*/
int