From 8a09d515b061739c8de7a7dc272c73ab3fd7bf19 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 23 Oct 2013 04:25:27 +0000 Subject: [PATCH] Cleanup git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5077 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/dev_handlers/scst_vdisk.c | 2 +- usr/fileio/common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;