Fix build breakage in if_mos.c when USB_DEBUG option is set.
Approved by: thompsa (mentor)
This commit is contained in:
parent
a5fb784c6d
commit
5e9f9790ad
@ -814,7 +814,7 @@ mos_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error)
|
||||
/* Remember the last byte was used for the status fields */
|
||||
pktlen = actlen - 1;
|
||||
if (pktlen < sizeof(struct ether_header)) {
|
||||
MOS_DPRINTFN("error: pktlen %i is smaller than ether_header %i", pktlen, sizeof(struct ether_header));
|
||||
MOS_DPRINTFN("error: pktlen %d is smaller than ether_header %zd", pktlen, sizeof(struct ether_header));
|
||||
ifp->if_ierrors++;
|
||||
goto tr_setup;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user