From 9f53799703c37397a93e1233ceddba0211a8d851 Mon Sep 17 00:00:00 2001 From: weongyo Date: Wed, 24 Nov 2010 21:43:36 +0000 Subject: Fixes a compiler warning when it's compiled with INVARIANTS. Pointy hat to: me --- sys/dev/usb/usb_pf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev') 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 -- cgit v1.1