diff options
author | Alexander Motin <mav@FreeBSD.org> | 2016-12-19 15:49:59 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2016-12-19 15:49:59 +0000 |
commit | c329b295dc132e4366993c93fa930cf29790cab8 (patch) | |
tree | 0f3fda09f0748a5207068c098d442883e0b1b94b /sys/cam/ctl/ctl_error.c | |
parent | bb2eabe947df772d180ee343721ae6dc3f2d5cd7 (diff) | |
download | src-c329b295dc132e4366993c93fa930cf29790cab8.tar.gz src-c329b295dc132e4366993c93fa930cf29790cab8.zip |
Fix typo in function name.
Notes
Notes:
svn path=/head/; revision=310275
Diffstat (limited to 'sys/cam/ctl/ctl_error.c')
-rw-r--r-- | sys/cam/ctl/ctl_error.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/cam/ctl/ctl_error.c b/sys/cam/ctl/ctl_error.c index 5475ccf0b424..5bdaf08b299e 100644 --- a/sys/cam/ctl/ctl_error.c +++ b/sys/cam/ctl/ctl_error.c @@ -366,7 +366,7 @@ ctl_set_ua(struct ctl_scsiio *ctsio, int asc, int ascq) } static void -ctl_ua_to_acsq(struct ctl_lun *lun, ctl_ua_type ua_to_build, int *asc, +ctl_ua_to_ascq(struct ctl_lun *lun, ctl_ua_type ua_to_build, int *asc, int *ascq, ctl_ua_type *ua_to_clear, uint8_t **info) { @@ -492,7 +492,7 @@ ctl_build_qae(struct ctl_lun *lun, uint32_t initidx, uint8_t *resp) ua_to_build = (1 << (ffs(ua) - 1)); ua_to_clear = ua_to_build; info = NULL; - ctl_ua_to_acsq(lun, ua_to_build, &asc, &ascq, &ua_to_clear, &info); + ctl_ua_to_ascq(lun, ua_to_build, &asc, &ascq, &ua_to_clear, &info); resp[0] = SSD_KEY_UNIT_ATTENTION; if (ua_to_build == ua) @@ -537,7 +537,7 @@ ctl_build_ua(struct ctl_lun *lun, uint32_t initidx, ua_to_build = (1 << (ffs(ua[i]) - 1)); ua_to_clear = ua_to_build; info = NULL; - ctl_ua_to_acsq(lun, ua_to_build, &asc, &ascq, &ua_to_clear, &info); + ctl_ua_to_ascq(lun, ua_to_build, &asc, &ascq, &ua_to_clear, &info); ctl_set_sense_data(sense, lun, sense_format, /*current_error*/ 1, /*sense_key*/ SSD_KEY_UNIT_ATTENTION, asc, ascq, |