diff options
Diffstat (limited to 'src/sg_write_verify.c')
-rw-r--r-- | src/sg_write_verify.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/sg_write_verify.c b/src/sg_write_verify.c index 4a8ea248..5b394c93 100644 --- a/src/sg_write_verify.c +++ b/src/sg_write_verify.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014-2019 Douglas Gilbert + * Copyright (c) 2014-2020 Douglas Gilbert * All rights reserved. * Use of this source code is governed by a BSD-style * license that can be found in the BSD_LICENSE file. @@ -40,7 +40,7 @@ #include "sg_unaligned.h" #include "sg_pr2serr.h" -static const char * version_str = "1.17 20191220"; +static const char * version_str = "1.18 20200430"; #define ME "sg_write_verify: " @@ -175,6 +175,10 @@ run_scsi_transaction(int sg_fd, const uint8_t *cdbp, int cdb_len, } ret = sense_cat; break; + case SG_LIB_CAT_ILLEGAL_REQ: + if (verbose) + sg_print_command_len(cdbp, cdb_len); + /* FALL THROUGH */ case SG_LIB_CAT_PROTECTION: /* PI failure */ case SG_LIB_CAT_MISCOMPARE: /* only in bytchk=1 case */ default: |