mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 09:11:27 +00:00
Cleanup
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5077 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user