From 974a998625982c962a242091abc03880d0e0ef15 Mon Sep 17 00:00:00 2001 From: mjacob Date: Sat, 8 Jul 2000 23:24:08 +0000 Subject: Use %p to print a pointer. --- sys/cam/scsi/scsi_target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/cam') diff --git a/sys/cam/scsi/scsi_target.c b/sys/cam/scsi/scsi_target.c index db27cac..4ad19bf 100644 --- a/sys/cam/scsi/scsi_target.c +++ b/sys/cam/scsi/scsi_target.c @@ -1267,7 +1267,7 @@ targrunqueue(struct cam_periph *periph, struct targ_softc *softc) MIN(desc->data_increment, 32); } CAM_DEBUG(periph->path, CAM_DEBUG_PERIPH, - ("Buffer command: data %x: datacnt %d\n", + ("Buffer command: data %p: datacnt %d\n", (intptr_t)desc->data, desc->data_increment)); TAILQ_INSERT_TAIL(&softc->work_queue, &atio->ccb_h, periph_links.tqe); -- cgit v1.1