diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index a82921e1d..36e23ea27 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -5424,13 +5424,14 @@ void scst_abort_cmd(struct scst_cmd *cmd, struct scst_mgmt_cmd *mcmd, "op %s, proc time %ld sec., timeout %d sec.), " "deferring ABORT (cmd_done_wait_count %d, " "cmd_finish_wait_count %d, internal %d, mcmd " - "fn %d (mcmd %p))", cmd, - (long long unsigned int)cmd->tag, + "fn %d (mcmd %p), initiator %s, target %s)", + cmd, (long long unsigned int)cmd->tag, cmd->sn, cmd->state, scst_get_opcode_name(cmd), (long)(jiffies - cmd->start_time) / HZ, cmd->timeout / HZ, mcmd->cmd_done_wait_count, mcmd->cmd_finish_wait_count, cmd->internal, - mcmd->fn, mcmd); + mcmd->fn, mcmd, mcmd->sess->initiator_name, + mcmd->sess->tgt->tgt_name); /* * cmd can't die here or sess_list_lock already taken * and cmd is in the sess list