aboutsummaryrefslogtreecommitdiff
path: root/sbin/camcontrol
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-06-01 23:41:32 +0000
committerWarner Losh <imp@FreeBSD.org>2023-06-02 02:33:40 +0000
commitd15f57a29d78915c9218cac7692b595e5e8b4581 (patch)
tree17ca291dddcd5bed67dc38a34e6ee7c40c32df26 /sbin/camcontrol
parent589fe499b72b6d84be366b6bff66291612226079 (diff)
downloadsrc-d15f57a29d78915c9218cac7692b595e5e8b4581.tar.gz
src-d15f57a29d78915c9218cac7692b595e5e8b4581.zip
camcontrol: Fix typos
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/653
Diffstat (limited to 'sbin/camcontrol')
-rw-r--r--sbin/camcontrol/camcontrol.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/camcontrol/camcontrol.c b/sbin/camcontrol/camcontrol.c
index 9e50fbf2646e..55a6ba93c99b 100644
--- a/sbin/camcontrol/camcontrol.c
+++ b/sbin/camcontrol/camcontrol.c
@@ -1750,7 +1750,7 @@ scsi_cam_pass_16_send(struct cam_device *device, union ccb *ccb)
/*
* Consider any non-CAM_REQ_CMP status as error and report it here,
- * unless caller set AP_FLAG_CHK_COND, in which case it is reponsible.
+ * unless caller set AP_FLAG_CHK_COND, in which case it is responsible.
*/
if (!(ata_pass_16->flags & AP_FLAG_CHK_COND) &&
(ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
@@ -1788,7 +1788,7 @@ ata_cam_send(struct cam_device *device, union ccb *ccb)
/*
* Consider any non-CAM_REQ_CMP status as error and report it here,
- * unless caller set AP_FLAG_CHK_COND, in which case it is reponsible.
+ * unless caller set AP_FLAG_CHK_COND, in which case it is responsible.
*/
if (!(ccb->ataio.cmd.flags & CAM_ATAIO_NEEDRESULT) &&
(ccb->ccb_h.status & CAM_STATUS_MASK) != CAM_REQ_CMP) {
@@ -4402,7 +4402,7 @@ mode_sense(struct cam_device *device, int *cdb_len, int dbd, int llbaa, int pc,
retry:
/*
* MODE SENSE(6) can't handle more then 255 bytes. If there are more,
- * device must return error, so we should not get trucated data.
+ * device must return error, so we should not get truncated data.
*/
if (*cdb_len == 6 && datalen > 255)
datalen = 255;