Fix printf warning caused by recent CAM change.
This commit is contained in:
parent
161af19be7
commit
e47276e59c
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user