diff --git a/scst/src/dev_handlers/scst_vdisk.c b/scst/src/dev_handlers/scst_vdisk.c index d513f79df..ffc0b9750 100644 --- a/scst/src/dev_handlers/scst_vdisk.c +++ b/scst/src/dev_handlers/scst_vdisk.c @@ -3177,7 +3177,7 @@ static enum compl_status_e vdisk_exec_mode_select(struct vdisk_cmd_params *p) if (address[offset - 1] == 8) { offset += 8; } else if (address[offset - 1] != 0) { - PRINT_ERROR("%s", "MODE SELECT: Wrong parameters list lenght"); + PRINT_ERROR("%s", "MODE SELECT: Wrong parameters list length"); scst_set_invalid_field_in_parm_list(cmd, offset-1, 0); goto out_put; } diff --git a/usr/fileio/common.c b/usr/fileio/common.c index 997fbc746..8e3d1fe66 100644 --- a/usr/fileio/common.c +++ b/usr/fileio/common.c @@ -1248,7 +1248,7 @@ static void exec_mode_select(struct vdisk_cmd *vcmd) offset += 8; } else if (address[offset - 1] != 0) { PRINT_ERROR("%s", "MODE SELECT: Wrong parameters list " - "lenght"); + "length"); set_cmd_error(vcmd, SCST_LOAD_SENSE(scst_sense_invalid_field_in_parm_list)); goto out;