git: d15f57a29d78 - main - camcontrol: Fix typos

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 02 Jun 2023 02:33:55 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=d15f57a29d78915c9218cac7692b595e5e8b4581

commit d15f57a29d78915c9218cac7692b595e5e8b4581
Author:     Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-06-01 23:41:32 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2023-06-02 02:33:40 +0000

    camcontrol: Fix typos
    
    Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/653
---
 sbin/camcontrol/camcontrol.c | 6 +++---
 1 file 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;