From 91f1caa2d89ff3be646f0292a6d73c426ddc35e2 Mon Sep 17 00:00:00 2001 From: Matt Jacob Date: Sun, 31 Dec 2000 20:50:56 +0000 Subject: [PATCH] Fix problems with incomplete conversions from printf to isp_prt. --- sys/dev/isp/isp_freebsd.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index 6cd6c7588bb..944798f91d2 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -1543,7 +1543,7 @@ isp_action(struct cam_sim *sim, union ccb *ccb) default: isp_prt(isp, ISP_LOGERR, "What's this? 0x%x at %d in file %s", - isp->isp_name, error, __LINE__, __FILE__); + error, __LINE__, __FILE__); XS_SETERR(ccb, CAM_REQ_CMP_ERR); xpt_done(ccb); } @@ -1723,8 +1723,7 @@ isp_action(struct cam_sim *sim, union ccb *ccb) *dptr |= DPARM_SAFE_DFLT; isp_prt(isp, ISP_LOGDEBUG0, "%d.%d set %s period 0x%x offset 0x%x flags 0x%x", - isp->isp_name, bus, tgt, - (cts->flags & CCB_TRANS_CURRENT_SETTINGS)? + bus, tgt, (cts->flags & CCB_TRANS_CURRENT_SETTINGS)? "current" : "user", sdp->isp_devparam[tgt].sync_period, sdp->isp_devparam[tgt].sync_offset, @@ -1804,8 +1803,7 @@ isp_action(struct cam_sim *sim, union ccb *ccb) ISP_UNLOCK(isp); isp_prt(isp, ISP_LOGDEBUG0, "%d.%d get %s period 0x%x offset 0x%x flags 0x%x", - isp->isp_name, bus, tgt, - (cts->flags & CCB_TRANS_CURRENT_SETTINGS)? + bus, tgt, (cts->flags & CCB_TRANS_CURRENT_SETTINGS)? "current" : "user", pval, oval, dval); } ccb->ccb_h.status = CAM_REQ_CMP;