diff options
| author | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2003-05-12 00:42:28 +0000 |
|---|---|---|
| committer | Hidetoshi Shimokawa <simokawa@FreeBSD.org> | 2003-05-12 00:42:28 +0000 |
| commit | 96c7c6dd58b268fa5f1310081780a33bf644c64a (patch) | |
| tree | 0a52170d8592d0114c9a3753fbe3411fb444e3b1 | |
| parent | 8e274c38c2994e686d63acba8ea1fbb7b271f773 (diff) | |
Notes
| -rw-r--r-- | sys/dev/firewire/sbp.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c index 7a780f995881..4afd9117c500 100644 --- a/sys/dev/firewire/sbp.c +++ b/sys/dev/firewire/sbp.c @@ -2304,10 +2304,18 @@ 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: " +#if __FreeBSD_version >= 500000 "Volume size = %jd\n", - device_get_nameunit(sbp->fd.dev), cam_sim_path(sbp->sim), +#else + "Volume size = %d\n", +#endif + device_get_nameunit(sbp->fd.dev), + cam_sim_path(sbp->sim), ccb->ccb_h.target_id, ccb->ccb_h.target_lun, - (uintmax_t)ccg->volume_size); +#if __FreeBSD_version >= 500000 + (uintmax_t) +#endif + ccg->volume_size); END_DEBUG size_mb = ccg->volume_size |
