From ab1835aec511a4a2577c96a676eb589f506279b3 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 16 Sep 2009 18:08:02 +0000 Subject: [PATCH] More consistency in TM functions logging. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1099 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 26d2f5ce2..cce47e5c8 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -1978,7 +1978,7 @@ static void execute_task_management(struct iscsi_cmnd *req) if ((function != ISCSI_FUNCTION_ABORT_TASK) && (req_hdr->rtt != ISCSI_RESERVED_TAG)) { - PRINT_ERROR("Invalid RTT %x (TM fn %x)", req_hdr->rtt, + PRINT_ERROR("Invalid RTT %x (TM fn %d)", req_hdr->rtt, function); rc = -1; status = ISCSI_RESPONSE_FUNCTION_REJECTED; @@ -2915,7 +2915,7 @@ static void iscsi_send_task_mgmt_resp(struct iscsi_cmnd *req, int status) spin_lock(&sess->sn_lock); if (iscsi_is_delay_tm_resp(rsp)) { - TRACE(TRACE_MGMT_MINOR, "Delaying TM fn %x response %p " + TRACE(TRACE_MGMT_MINOR, "Delaying TM fn %d response %p " "(req %p), because not all affected commands received " "(TM cmd sn %u, exp sn %u)", req_hdr->function & ISCSI_FUNCTION_MASK, rsp, req,