aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/drivers/block/scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'gpxe/src/drivers/block/scsi.c')
-rw-r--r--gpxe/src/drivers/block/scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpxe/src/drivers/block/scsi.c b/gpxe/src/drivers/block/scsi.c
index 71d22040..b22bd20f 100644
--- a/gpxe/src/drivers/block/scsi.c
+++ b/gpxe/src/drivers/block/scsi.c
@@ -60,8 +60,8 @@ static int scsi_command ( struct scsi_device *scsi,
/* Something went wrong with the issuing mechanism,
* (rather than with the command itself)
*/
- DBG ( "SCSI %p " SCSI_CDB_FORMAT " err %d\n",
- scsi, SCSI_CDB_DATA ( command->cdb ), rc );
+ DBG ( "SCSI %p " SCSI_CDB_FORMAT " err %s\n",
+ scsi, SCSI_CDB_DATA ( command->cdb ), strerror ( rc ) );
return rc;
}