From c265e679a869b639a73b41360c80c8d66b159969 Mon Sep 17 00:00:00 2001 From: avos Date: Wed, 6 Feb 2019 01:42:26 +0000 Subject: [PATCH] MFC r343542: upgt(4): unbreak build with UPGT_DEBUG git-svn-id: svn://svn.freebsd.org/base/stable/10@343816 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/dev/usb/wlan/if_upgt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/usb/wlan/if_upgt.c b/sys/dev/usb/wlan/if_upgt.c index 9ccd4c4f0..f22ba4f3c 100644 --- a/sys/dev/usb/wlan/if_upgt.c +++ b/sys/dev/usb/wlan/if_upgt.c @@ -1700,7 +1700,7 @@ upgt_fw_load(struct upgt_softc *sc) data_cmd->buflen = bsize; upgt_bulk_tx(sc, data_cmd); - DPRINTF(sc, UPGT_DEBUG_FW, "FW offset=%d, read=%d, sent=%d\n", + DPRINTF(sc, UPGT_DEBUG_FW, "FW offset=%zu, read=%d, sent=%d\n", offset, n, bsize); bsize = n; } @@ -1857,7 +1857,7 @@ upgt_fw_verify(struct upgt_softc *sc) } DPRINTF(sc, UPGT_DEBUG_FW, - "firmware Boot Record Area found at offset %d\n", offset); + "firmware Boot Record Area found at offset %zu\n", offset); /* * Parse Boot Record Area (BRA) options. -- 2.45.0