Fix printf warning caused by recent CAM change.

This commit is contained in:
Hidetoshi Shimokawa 2003-05-01 03:38:04 +00:00
parent 161af19be7
commit e47276e59c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114375

View File

@ -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