From eadb8f358b34aff77b1d23fef6b96748429a677f Mon Sep 17 00:00:00 2001 From: Jake Burkholder Date: Fri, 2 May 2003 17:21:07 +0000 Subject: [PATCH] Fix printf format errors. --- sys/dev/firewire/sbp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index 240d2716b17..5848e59d343 100644 --- a/sys/dev/firewire/sbp.c +++ b/sys/dev/firewire/sbp.c @@ -2218,10 +2218,10 @@ printf("ORB %08x %08x %08x %08x\n", ntohl(ocb->orb[4]), ntohl(ocb->orb[5]), ntoh } SBP_DEBUG(1) printf("%s:%d:%d:%d:XPT_CALC_GEOMETRY: " - "Volume size = %lld\n", + "Volume size = %jd\n", device_get_nameunit(sbp->fd.dev), cam_sim_path(sbp->sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, - (u_int64_t)ccg->volume_size); + (uintmax_t)ccg->volume_size); END_DEBUG size_mb = ccg->volume_size