aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/firewire/firewire.c
diff options
context:
space:
mode:
authorHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-01-05 14:58:45 +0000
committerHidetoshi Shimokawa <simokawa@FreeBSD.org>2003-01-05 14:58:45 +0000
commita4239576009e72add0fc4c1371f2a60260d70f82 (patch)
tree40478e2fc84321c00e8996b6884bfd231416087a /sys/dev/firewire/firewire.c
parenta6497df52c6a659b192b85f4f36dbb1e54d76eb6 (diff)
Notes
Diffstat (limited to 'sys/dev/firewire/firewire.c')
-rw-r--r--sys/dev/firewire/firewire.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c
index fb6af5750b21a..e18bb8e113e4c 100644
--- a/sys/dev/firewire/firewire.c
+++ b/sys/dev/firewire/firewire.c
@@ -1843,7 +1843,11 @@ fw_rcv(struct firewire_comm* fc, caddr_t buf, u_int len, u_int sub, u_int off, u
bind = fw_bindlookup(fc, ntohs(fp->mode.rreqq.dest_hi),
ntohl(fp->mode.rreqq.dest_lo));
if(bind == NULL){
+#if __FreeBSD_version >= 500000
printf("Unknown service addr 0x%08x:0x%08x tcode=%x\n",
+#else
+ printf("Unknown service addr 0x%08x:0x%08lx tcode=%x\n",
+#endif
ntohs(fp->mode.rreqq.dest_hi),
ntohl(fp->mode.rreqq.dest_lo),
fp->mode.common.tcode);