summaryrefslogtreecommitdiffstats
path: root/sys/cam
diff options
context:
space:
mode:
authorgabor <gabor@FreeBSD.org>2013-04-17 11:40:10 +0000
committergabor <gabor@FreeBSD.org>2013-04-17 11:40:10 +0000
commitd3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75 (patch)
tree6c2aee498f9e11d960770edc4c69d81c03d3cc25 /sys/cam
parent534bc4664d43755c6bed54f3c55baaddc569aba3 (diff)
downloadFreeBSD-src-d3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75.zip
FreeBSD-src-d3ee8e3ff6bd3ac253dc2660d5778b4b2990dd75.tar.gz
- Correct mispellings of the word occurrence
Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (via private mail)
Diffstat (limited to 'sys/cam')
-rw-r--r--sys/cam/scsi/scsi_pass.c2
-rw-r--r--sys/cam/scsi/scsi_target.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/cam/scsi/scsi_pass.c b/sys/cam/scsi/scsi_pass.c
index 56bb17c..eb5a57d 100644
--- a/sys/cam/scsi/scsi_pass.c
+++ b/sys/cam/scsi/scsi_pass.c
@@ -694,7 +694,7 @@ passsendccb(struct cam_periph *periph, union ccb *ccb, union ccb *inccb)
* match CCBs. For the SCSI, ATA and ADVINFO CCBs, we only pass the
* CCB in if there's actually data to map. cam_periph_mapmem() will
* do the right thing, even if there isn't data to map, but since CCBs
- * without data are a reasonably common occurance (e.g. test unit
+ * without data are a reasonably common occurrence (e.g. test unit
* ready), it will save a few cycles if we check for it here.
*
* XXX What happens if a sg list is supplied? We don't filter that
diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c
index 963b4e6..56ff8a9 100644
--- a/sys/cam/scsi/scsi_target.c
+++ b/sys/cam/scsi/scsi_target.c
@@ -734,7 +734,7 @@ targsendccb(struct targ_softc *softc, union ccb *ccb,
* match CCBs. For the SCSI CCBs, we only pass the CCB in if
* there's actually data to map. cam_periph_mapmem() will do the
* right thing, even if there isn't data to map, but since CCBs
- * without data are a reasonably common occurance (e.g. test unit
+ * without data are a reasonably common occurrence (e.g. test unit
* ready), it will save a few cycles if we check for it here.
*/
if (((ccb_h->flags & CAM_DATA_MASK) == CAM_DATA_VADDR)
OpenPOWER on IntegriCloud