Browse Source

[fcp] Avoid quoting exchange ID before exchange is created

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 years ago
parent
commit
a59bb9c313
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/net/fcp.c

+ 2
- 2
src/net/fcp.c View File

@@ -778,8 +778,8 @@ static int fcpdev_scsi_command ( struct fcp_device *fcpdev,
778 778
 					     &fcpdev->ulp->peer->port_id,
779 779
 					     FC_TYPE_FCP ) ) < 0 ) {
780 780
 		rc = xchg_id;
781
-		DBGC ( fcpdev, "FCP %p xchg %04x could not create exchange: "
782
-		       "%s\n", fcpdev, fcpcmd->xchg_id, strerror ( rc ) );
781
+		DBGC ( fcpdev, "FCP %p could not create exchange: %s\n",
782
+		       fcpdev, strerror ( rc ) );
783 783
 		goto err_xchg_originate;
784 784
 	}
785 785
 	fcpcmd->xchg_id = xchg_id;

Loading…
Cancel
Save