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.
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to