Date: Wed, 16 Feb 2011 09:26:56 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r218730 - head/sys/dev/usb/net Message-ID: <201102160926.p1G9Qu0P064045@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201102160926.p1G9Qu0P064045>