Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jan 2019 03:31:36 +0000 (UTC)
From:      Andriy Voskoboinyk <avos@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r343542 - head/sys/dev/usb/wlan
Message-ID:  <201901290331.x0T3Valk061077@repo.freebsd.org>

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



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