Fixes a compiler warning when it's compiled with INVARIANTS.

Pointy hat to:	me
This commit is contained in:
Weongyo Jeong 2010-11-24 21:43:36 +00:00
parent 6d926c73ae
commit 10798b4875

View File

@ -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