Parcourir la source

[fcp] Avoid quoting exchange ID before exchange is created

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown il y a 13 ans
Parent
révision
a59bb9c313
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2
    2
      src/net/fcp.c

+ 2
- 2
src/net/fcp.c Voir le fichier

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

Chargement…
Annuler
Enregistrer