mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Correct bad format args. Interesting- the lines that generated
the error on sparc64 hadn't changed since the last checkin, pass LINT on other platforms and mpt doesn't work on sparc64 anyway and the tinderbox build didn't work for me in a cross build case on my main build machine (which runs RELENG_6). Sigh. Still need to try harder.
This commit is contained in:
parent
0597c8cf73
commit
a529c6a2dc
1 changed files with 2 additions and 2 deletions
|
|
@ -1342,7 +1342,7 @@ mpt_recv_handshake_reply(struct mpt_softc *mpt, size_t reply_len, void *reply)
|
|||
/* With the second word, we can now look at the length */
|
||||
if (((reply_len >> 1) != hdr->MsgLength)) {
|
||||
mpt_prt(mpt, "reply length does not match message length: "
|
||||
"got 0x%02x, expected 0x%02x\n",
|
||||
"got 0x%02x, expected 0x%02zx\n",
|
||||
hdr->MsgLength << 2, reply_len << 1);
|
||||
}
|
||||
|
||||
|
|
@ -1644,7 +1644,7 @@ mpt_read_config_info_ioc(struct mpt_softc *mpt)
|
|||
if (rv)
|
||||
return (rv);
|
||||
|
||||
mpt_lprt(mpt, MPT_PRT_DEBUG, "IOC Page 2 Header: ver %x, len %x, "
|
||||
mpt_lprt(mpt, MPT_PRT_DEBUG, "IOC Page 2 Header: ver %x, len %zx, "
|
||||
"num %x, type %x\n", hdr.PageVersion,
|
||||
hdr.PageLength * sizeof(uint32_t),
|
||||
hdr.PageNumber, hdr.PageType);
|
||||
|
|
|
|||
Loading…
Reference in a new issue