svn commit: r343542 - head/sys/dev/usb/wlan
Andriy Voskoboinyk
avos at FreeBSD.org
Tue Jan 29 03:31:37 UTC 2019
Author: avos
Date: Tue Jan 29 03:31:36 2019
New Revision: 343542
URL: https://svnweb.freebsd.org/changeset/base/343542
Log:
upgt(4): unbreak build with UPGT_DEBUG
MFC after: 1 week
Modified:
head/sys/dev/usb/wlan/if_upgt.c
Modified: head/sys/dev/usb/wlan/if_upgt.c
==============================================================================
--- head/sys/dev/usb/wlan/if_upgt.c Tue Jan 29 03:28:47 2019 (r343541)
+++ head/sys/dev/usb/wlan/if_upgt.c Tue Jan 29 03:31:36 2019 (r343542)
@@ -1615,7 +1615,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;
}
@@ -1772,7 +1772,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.
More information about the svn-src-all
mailing list