MFC r343542:

upgt(4): unbreak build with UPGT_DEBUG
This commit is contained in:
Andriy Voskoboinyk 2019-02-06 01:42:26 +00:00
parent 08bba2c35a
commit 1016d958e0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=343816

View File

@ -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.