From e47276e59cce8eb8d8247d5099d00f0863f811cd Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Thu, 1 May 2003 03:38:04 +0000 Subject: [PATCH] Fix printf warning caused by recent CAM change. --- 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 b14d6461e8a..240d2716b17 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 = %d\n", + "Volume size = %lld\n", device_get_nameunit(sbp->fd.dev), cam_sim_path(sbp->sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, - ccg->volume_size); + (u_int64_t)ccg->volume_size); END_DEBUG size_mb = ccg->volume_size