Author: hselasky
Date: Wed Feb 16 09:26:56 2011
New Revision: 218730
URL: http://svn.freebsd.org/changeset/base/218730
Log:
Fix build breakage in if_mos.c when USB_DEBUG option is set.
Approved by: thompsa (mentor)
Modified:
head/sys/dev/usb/net/if_mos.c
Modified: head/sys/dev/usb/net/if_mos.c
==============================================================================
--- head/sys/dev/usb/net/if_mos.c Wed Feb 16 08:33:30 2011
(r218729)
+++ head/sys/dev/usb/net/if_mos.c Wed Feb 16 09:26:56 2011
(r218730)
@@ -814,7 +814,7 @@ mos_bulk_read_callback(struct usb_xfer *
/* 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;
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"