diff options
author | simokawa <simokawa@FreeBSD.org> | 2003-04-24 09:27:17 +0000 |
---|---|---|
committer | simokawa <simokawa@FreeBSD.org> | 2003-04-24 09:27:17 +0000 |
commit | 5f3a7ead43de93d9704a3570bfe82c19353875e6 (patch) | |
tree | 88a49689e7308f722c72da976f05a54aab87423a /sys/dev/firewire | |
parent | 0a8982360ce63a24925ab8d8c410fc32949303cd (diff) | |
download | FreeBSD-src-5f3a7ead43de93d9704a3570bfe82c19353875e6.zip FreeBSD-src-5f3a7ead43de93d9704a3570bfe82c19353875e6.tar.gz |
Fix printf warning for RELENG_4.
Diffstat (limited to 'sys/dev/firewire')
-rw-r--r-- | sys/dev/firewire/firewire.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/firewire/firewire.c b/sys/dev/firewire/firewire.c index 500ab51..eda6650 100644 --- a/sys/dev/firewire/firewire.c +++ b/sys/dev/firewire/firewire.c @@ -1778,7 +1778,11 @@ fw_rcv(struct firewire_comm *fc, struct iovec *vec, int nvec, u_int sub, u_int s bind = fw_bindlookup(fc, fp->mode.rreqq.dest_hi, fp->mode.rreqq.dest_lo); if(bind == NULL){ +#if __FreeBSD_version >= 500000 printf("Unknown service addr 0x%08x:0x%08x tcode=%x src=0x%x data=%x\n", +#else + printf("Unknown service addr 0x%08x:0x%08x tcode=%x src=0x%x data=%lx\n", +#endif fp->mode.wreqq.dest_hi, fp->mode.wreqq.dest_lo, tcode, |