Hi,
There was a minor missing delta in if_mos.c, needed for build with USB_DEBUG
set on AMD64. Can someone approve that I commit this, hence my mentor just
went offline :-)
--HPS
==== Patch <if_mos_fix.txt> level 1
Source: [No source]
Target: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f:/head/sys/dev/usb/net:218729
[mirrored]
(svn+ssh://[email protected]/base)
Log:
Fix build breakage in if_mos.c when USB_DEBUG option is set.
Approved by: thompsa (mentor)
=== if_mos.c
==================================================================
--- if_mos.c (revision 218729)
+++ if_mos.c (patch if_mos_fix.txt level 1)
@@ -814,7 +814,7 @@
/* 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 %i is smaller than
ether_header %i", pktlen, (int)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]"