[fcp] Avoid quoting exchange ID before exchange is created

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/1/head
Michael Brown 2010-11-03 01:55:53 +00:00
parent 0654698cd7
commit a59bb9c313
1 changed files with 2 additions and 2 deletions

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;