Date: Wed, 16 Feb 2011 10:18:24 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: "src-committers@freebsd.org" <src-committers@freebsd.org> Cc: "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org> Subject: Re: svn commit: r218729 - in head: share/man/man4 sys/dev/usb sys/dev/usb/net sys/modules/usb sys/modules/usb/mos Message-ID: <201102161018.24222.hselasky@c2i.net> In-Reply-To: <201102160833.p1G8XUd8062748@svn.freebsd.org> References: <201102160833.p1G8XUd8062748@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary-00=_gZ5WNJX2eUzp5Vx Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit 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 --Boundary-00=_gZ5WNJX2eUzp5Vx Content-Type: text/plain; charset="windows-1252"; name="if_mos_fix.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="if_mos_fix.txt" ==== 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://hselasky@svn.freebsd.org/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; } --Boundary-00=_gZ5WNJX2eUzp5Vx--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102161018.24222.hselasky>