svn commit: r218730 - head/sys/dev/usb/net
Hans Petter Selasky
hselasky at FreeBSD.org
Wed Feb 16 09:26:57 UTC 2011
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;
}
More information about the svn-src-all
mailing list