aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/cam/ata/ata_da.c4
-rw-r--r--sys/cam/nvme/nvme_da.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/ata/ata_da.c b/sys/cam/ata/ata_da.c
index 41561c25f363..d9d0c73c2dbb 100644
--- a/sys/cam/ata/ata_da.c
+++ b/sys/cam/ata/ata_da.c
@@ -3563,7 +3563,7 @@ adaflush(void)
CAM_PERIPH_FOREACH(periph, &adadriver) {
softc = (struct ada_softc *)periph->softc;
if (SCHEDULER_STOPPED()) {
- /* If we paniced with the lock held, do not recurse. */
+ /* If we panicked with the lock held, do not recurse. */
if (!cam_periph_owned(periph) &&
(softc->flags & ADA_FLAG_OPEN)) {
adadump(softc->disk, NULL, 0, 0, 0);
@@ -3615,7 +3615,7 @@ adaspindown(uint8_t cmd, int flags)
int mode;
CAM_PERIPH_FOREACH(periph, &adadriver) {
- /* If we paniced with lock held - not recurse here. */
+ /* If we panicked with lock held - not recurse here. */
if (cam_periph_owned(periph))
continue;
cam_periph_lock(periph);
diff --git a/sys/cam/nvme/nvme_da.c b/sys/cam/nvme/nvme_da.c
index a3d72e1017c9..c7dc671170cc 100644
--- a/sys/cam/nvme/nvme_da.c
+++ b/sys/cam/nvme/nvme_da.c
@@ -1317,7 +1317,7 @@ ndaflush(void)
if (SCHEDULER_STOPPED()) {
/*
- * If we paniced with the lock held or the periph is not
+ * If we panicked with the lock held or the periph is not
* open, do not recurse. Otherwise, call ndadump since
* that avoids the sleeping cam_periph_getccb does if no
* CCBs are available.