From cec3b712bd5935138e30b80455ca6dba46452e2f Mon Sep 17 00:00:00 2001 From: simonb Date: Sat, 9 Sep 2006 04:12:00 +0000 Subject: [PATCH] Use %p to print a pointer. --- sys/arch/pc532/stand/common/scsi_hi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/pc532/stand/common/scsi_hi.c b/sys/arch/pc532/stand/common/scsi_hi.c index ce07fd950186..29c82d9b1dcd 100644 --- a/sys/arch/pc532/stand/common/scsi_hi.c +++ b/sys/arch/pc532/stand/common/scsi_hi.c @@ -1,4 +1,4 @@ -/* $NetBSD: scsi_hi.c,v 1.5 2006/05/12 06:05:23 simonb Exp $ */ +/* $NetBSD: scsi_hi.c,v 1.6 2006/09/09 04:12:00 simonb Exp $ */ /**************************************************************************** * NS32K Monitor SCSI high-level driver @@ -256,7 +256,7 @@ get_sense(struct drive *dp) return OK; /* orig command was ok with recovery */ default: printf("SCSI failure: key 0x%x code 0x%x log adr 0x%x " - "sense buf 0x%x\n", sense_buf[SENSE_KEY], + "sense buf %p\n", sense_buf[SENSE_KEY], sense_buf[ADD_SENSE_CODE], XLOGICAL_ADR, sense_buf); return NOT_OK; /* orig command failed */ }