Author: avos
Date: Wed Feb  6 01:42:26 2019
New Revision: 343816
URL: https://svnweb.freebsd.org/changeset/base/343816

Log:
  MFC r343542:
  upgt(4): unbreak build with UPGT_DEBUG

Modified:
  stable/10/sys/dev/usb/wlan/if_upgt.c
Directory Properties:
  stable/10/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/11/sys/dev/usb/wlan/if_upgt.c
  stable/12/sys/dev/usb/wlan/if_upgt.c
Directory Properties:
  stable/11/   (props changed)
  stable/12/   (props changed)

Modified: stable/10/sys/dev/usb/wlan/if_upgt.c
==============================================================================
--- stable/10/sys/dev/usb/wlan/if_upgt.c        Wed Feb  6 01:34:14 2019        
(r343815)
+++ stable/10/sys/dev/usb/wlan/if_upgt.c        Wed Feb  6 01:42:26 2019        
(r343816)
@@ -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.
_______________________________________________
svn-src-stable-10@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10
To unsubscribe, send any mail to "svn-src-stable-10-unsubscr...@freebsd.org"

Reply via email to