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:
mjacob 2006-03-26 07:16:17 +00:00
parent 58605b1e64
commit 600bbc4ea0

View File

@ -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);