Author: weongyo Date: Wed Nov 24 21:43:36 2010 New Revision: 215804 URL: http://svn.freebsd.org/changeset/base/215804
Log: Fixes a compiler warning when it's compiled with INVARIANTS. Pointy hat to: me Modified: head/sys/dev/usb/usb_pf.c Modified: head/sys/dev/usb/usb_pf.c ============================================================================== --- head/sys/dev/usb/usb_pf.c Wed Nov 24 19:15:26 2010 (r215803) +++ head/sys/dev/usb/usb_pf.c Wed Nov 24 21:43:36 2010 (r215804) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"