summaryrefslogtreecommitdiffstats
path: root/src/net/fcp.c
diff options
context:
space:
mode:
authorMichael Brown2010-11-03 02:55:53 +0100
committerMichael Brown2010-11-03 02:55:53 +0100
commita59bb9c313dfcd34685a09710fd2e7719a200373 (patch)
tree24bb8dea9cfa113dffb45d929379ce2edcb5375c /src/net/fcp.c
parent[fcp] Fix potential memory leaks on error paths (diff)
downloadipxe-a59bb9c313dfcd34685a09710fd2e7719a200373.tar.gz
ipxe-a59bb9c313dfcd34685a09710fd2e7719a200373.tar.xz
ipxe-a59bb9c313dfcd34685a09710fd2e7719a200373.zip
[fcp] Avoid quoting exchange ID before exchange is created
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/fcp.c')
-rw-r--r--src/net/fcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/fcp.c b/src/net/fcp.c
index ddb6ccc8..e413e073 100644
--- a/src/net/fcp.c
+++ b/src/net/fcp.c
@@ -778,8 +778,8 @@ static int fcpdev_scsi_command ( struct fcp_device *fcpdev,
&fcpdev->ulp->peer->port_id,
FC_TYPE_FCP ) ) < 0 ) {
rc = xchg_id;
- DBGC ( fcpdev, "FCP %p xchg %04x could not create exchange: "
- "%s\n", fcpdev, fcpcmd->xchg_id, strerror ( rc ) );
+ DBGC ( fcpdev, "FCP %p could not create exchange: %s\n",
+ fcpdev, strerror ( rc ) );
goto err_xchg_originate;
}
fcpcmd->xchg_id = xchg_id;