From 52c008534db80b3f17a83cf34c6dc750b2c3f198 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Fri, 17 Nov 2006 00:19:55 +0000 Subject: [PATCH] *smack* - forgot to do i386 compile, so last commit broke things. --- sys/dev/mpt/mpt_cam.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c index 624a813294c5..6c31f2f5cdc0 100644 --- a/sys/dev/mpt/mpt_cam.c +++ b/sys/dev/mpt/mpt_cam.c @@ -4694,7 +4694,7 @@ mpt_scsi_tgt_atio(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc) len = min(tgt->resid, cdbp[4]); len = min(len, sizeof (null_iqd)); mpt_lprt(mpt, MPT_PRT_DEBUG, - "local inquiry %ld bytes\n", len); + "local inquiry %ld bytes\n", (long) len); mpt_scsi_tgt_local(mpt, req, lun, 1, null_iqd, len); return; @@ -4705,7 +4705,7 @@ mpt_scsi_tgt_atio(struct mpt_softc *mpt, request_t *req, uint32_t reply_desc) len = min(tgt->resid, cdbp[4]); len = min(len, sizeof (buf)); mpt_lprt(mpt, MPT_PRT_DEBUG, - "local reqsense %ld bytes\n", len); + "local reqsense %ld bytes\n", (long) len); mpt_scsi_tgt_local(mpt, req, lun, 1, buf, len); return;