Fixes a compiler warning when it's compiled with INVARIANTS.
Pointy hat to: me
This commit is contained in:
parent
6d926c73ae
commit
10798b4875
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user