From f4d60cb1df30955b517238dafe4fd668b6a0cb96 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Thu, 31 May 2012 02:35:22 +0000 Subject: [PATCH] Correct NACA not supported sense to be as requested by SAM git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4329 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_targ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index ab733ca51..211bdb19c 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -686,7 +686,7 @@ static int scst_parse_cmd(struct scst_cmd *cmd) PRINT_ERROR("NACA bit in control byte CDB is not supported " "(opcode 0x%02x)", cmd->cdb[0]); scst_set_cmd_error(cmd, - SCST_LOAD_SENSE(scst_sense_invalid_field_in_cdb)); + SCST_LOAD_SENSE(scst_sense_invalid_message)); goto out_done; }