aboutsummaryrefslogtreecommitdiffstats
path: root/gpxe/src/drivers/block/scsi.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2009-03-11 19:46:35 -0700
committerH. Peter Anvin <hpa@linux.intel.com>2009-03-11 19:46:35 -0700
commitd16e5e8e8ea526326ed6f8880464399624bfe171 (patch)
tree9d1eb354f74532c219d31607e28840c4ebde3103 /gpxe/src/drivers/block/scsi.c
parent43224f02c231ed97a15d8300eaaf69ad8118d222 (diff)
downloadsyslinux-elf-syslinux-3.74-pre3.tar.gz
syslinux-elf-syslinux-3.74-pre3.tar.xz
syslinux-elf-syslinux-3.74-pre3.zip
Update gPXE to version 0.9.7syslinux-3.74-pre3
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;
}