2
0
mirror of https://github.com/xcat2/xNBA.git synced 2025-09-02 08:18:29 +00:00

[fcp] Avoid quoting exchange ID before exchange is created

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2010-11-03 01:55:53 +00:00
parent 0654698cd7
commit a59bb9c313

View File

@@ -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;