From 10798b4875580da24d46f23ba9c02edf2c898a5f Mon Sep 17 00:00:00 2001 From: Weongyo Jeong Date: Wed, 24 Nov 2010 21:43:36 +0000 Subject: [PATCH] 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(-) diff --git a/sys/dev/usb/usb_pf.c b/sys/dev/usb/usb_pf.c index 3e6b7d157c9..e4ee6254b7b 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