summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2006-04-01 19:49:55 +0000
committermjacob <mjacob@FreeBSD.org>2006-04-01 19:49:55 +0000
commit418e5ad9ccbad0d099fb93e57f7022024c4dbbb8 (patch)
treeac96e5a9728b7e476e79ad686765b28ac1cc9b1d
parenta6edaf1c5c5a75d8ff61e82e0a7a94d9066aa556 (diff)
downloadFreeBSD-src-418e5ad9ccbad0d099fb93e57f7022024c4dbbb8.zip
FreeBSD-src-418e5ad9ccbad0d099fb93e57f7022024c4dbbb8.tar.gz
Fix fat-fingered version define.
-rw-r--r--sys/dev/mpt/mpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt.c b/sys/dev/mpt/mpt.c
index d2d815d..8c45177 100644
--- a/sys/dev/mpt/mpt.c
+++ b/sys/dev/mpt/mpt.c
@@ -1398,11 +1398,11 @@ mpt_recv_handshake_reply(struct mpt_softc *mpt, size_t reply_len, void *reply)
(hdr->Function != MPI_FUNCTION_IOC_FACTS)){
#if __FreeBSD_version >= 500000
mpt_prt(mpt, "reply length does not match message length: "
- "got %x; expected %x for function %x\n",
+ "got %x; expected %zx for function %x\n",
hdr->MsgLength << 2, reply_len << 1, hdr->Function);
#else
mpt_prt(mpt, "reply length does not match message length: "
- "got %x; expected %zx for function %x\n",
+ "got %x; expected %x for function %x\n",
hdr->MsgLength << 2, reply_len << 1, hdr->Function);
#endif
}
OpenPOWER on IntegriCloud