test-tool: Move a logging statement into write_residuals_test()

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
This commit is contained in:
Bart Van Assche
2021-02-08 17:55:19 -08:00
parent a21065cf71
commit c7a9f51d23
4 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,10 @@ write_residuals_test(const struct residuals_test_data *tdata)
unsigned int i;
unsigned int transfer_length;
unsigned int scsi_opcode_write = SCSI_OPCODE_WRITE10;
const char *residual = tdata->residual_type == SCSI_RESIDUAL_OVERFLOW ? "overflow" : "underflow";
const char *residual = tdata->residual_type == SCSI_RESIDUAL_OVERFLOW ?
"overflow" : "underflow";
logging(LOG_VERBOSE, "\n%s", tdata->description);
switch (tdata->cdb_size) {
case 10: