svn commit: r343816 - in stable: 10/sys/dev/usb/wlan 11/sys/dev/usb/wlan 12/sys/dev/usb/wlan

Andriy Voskoboinyk avos at FreeBSD.org
Wed Feb 6 01:42:28 UTC 2019


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/12/sys/dev/usb/wlan/if_upgt.c
Directory Properties:
  stable/12/   (props changed)

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

Modified: stable/12/sys/dev/usb/wlan/if_upgt.c
==============================================================================
--- stable/12/sys/dev/usb/wlan/if_upgt.c	Wed Feb  6 01:34:14 2019	(r343815)
+++ stable/12/sys/dev/usb/wlan/if_upgt.c	Wed Feb  6 01:42:26 2019	(r343816)
@@ -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