diff options
author | weongyo <weongyo@FreeBSD.org> | 2010-11-24 21:43:36 +0000 |
---|---|---|
committer | weongyo <weongyo@FreeBSD.org> | 2010-11-24 21:43:36 +0000 |
commit | 9f53799703c37397a93e1233ceddba0211a8d851 (patch) | |
tree | 35fa51285316ae3296a9408e3ea8e2f7a7a92fd9 /sys/dev/usb/usb_pf.c | |
parent | fe7e8c387355ce9e0a15d7aa7a70edfb15a11206 (diff) | |
download | FreeBSD-src-9f53799703c37397a93e1233ceddba0211a8d851.zip FreeBSD-src-9f53799703c37397a93e1233ceddba0211a8d851.tar.gz |
Fixes a compiler warning when it's compiled with INVARIANTS.
Pointy hat to: me
Diffstat (limited to 'sys/dev/usb/usb_pf.c')
-rw-r--r-- | sys/dev/usb/usb_pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_pf.c b/sys/dev/usb/usb_pf.c index 3e6b7d1..e4ee625 100644 --- a/sys/dev/usb/usb_pf.c +++ b/sys/dev/usb/usb_pf.c @@ -67,7 +67,7 @@ usbpf_attach(struct usb_bus *ubus) if_attach(ifp); KASSERT(sizeof(struct usbpf_pkthdr) == USBPF_HDR_LEN, - ("wrong USB pf header length (%d)", sizeof(struct usbpf_pkthdr))); + ("wrong USB pf header length (%zd)", sizeof(struct usbpf_pkthdr))); /* * XXX According to the specification of DLT_USB, it indicates packets |