summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorsimokawa <simokawa@FreeBSD.org>2003-03-04 06:47:17 +0000
committersimokawa <simokawa@FreeBSD.org>2003-03-04 06:47:17 +0000
commit0cd251e4183822e616f65526786cbc1d25697f81 (patch)
tree352f1a9d195cba2475e8cd371b3bfed3d412510a /sys
parent8f4d53e3aa80442c6cb4b4a1d0a512c2dfef79ca (diff)
downloadFreeBSD-src-0cd251e4183822e616f65526786cbc1d25697f81.zip
FreeBSD-src-0cd251e4183822e616f65526786cbc1d25697f81.tar.gz
Fix printf warning on RELENG_4.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/firewire/sbp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/firewire/sbp.c b/sys/dev/firewire/sbp.c
index ef30593..8d9f306 100644
--- a/sys/dev/firewire/sbp.c
+++ b/sys/dev/firewire/sbp.c
@@ -1559,7 +1559,11 @@ END_DEBUG
ocb = sbp_dequeue_ocb(sdev, sbp_status);
if (ocb == NULL) {
sbp_show_sdev_info(sdev, 2);
+#if __FreeBSD_version >= 500000
printf("No ocb(%x) on the queue\n",
+#else
+ printf("No ocb(%lx) on the queue\n",
+#endif
ntohl(sbp_status->orb_lo));
}
break;
OpenPOWER on IntegriCloud