Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Feb 2019 01:42:27 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r343816 - in stable: 10/sys/dev/usb/wlan 11/sys/dev/usb/wlan 12/sys/dev/usb/wlan
Message-ID:  <201902060142.x161gR7p089857@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902060142.x161gR7p089857>