svn commit: r215804 - head/sys/dev/usb
Weongyo Jeong
weongyo at FreeBSD.org
Wed Nov 24 21:43:37 UTC 2010
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
More information about the svn-src-head
mailing list