aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/net/if_mos.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2011-02-16 09:26:56 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2011-02-16 09:26:56 +0000
commit1ee72beb568170174e6a73320ca334636f1efd6c (patch)
tree3311acd0e633e96340e11fb135ed047d2e45a492 /sys/dev/usb/net/if_mos.c
parentb2dce55fe9208b062ee3fa1c857cba94248c69dc (diff)
downloadsrc-1ee72beb568170174e6a73320ca334636f1efd6c.tar.gz
src-1ee72beb568170174e6a73320ca334636f1efd6c.zip
Fix build breakage in if_mos.c when USB_DEBUG option is set.
Approved by: thompsa (mentor)
Notes
Notes: svn path=/head/; revision=218730
Diffstat (limited to 'sys/dev/usb/net/if_mos.c')
-rw-r--r--sys/dev/usb/net/if_mos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/if_mos.c b/sys/dev/usb/net/if_mos.c
index 434cb89b2780..13f4dff21860 100644
--- a/sys/dev/usb/net/if_mos.c
+++ b/sys/dev/usb/net/if_mos.c
@@ -814,7 +814,7 @@ mos_bulk_read_callback(struct usb_xfer *xfer, usb_error_t error)
/* 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;
}