From ca1eedd546b0c816617d5514a26af79cf371c274 Mon Sep 17 00:00:00 2001 From: marius Date: Sat, 19 Nov 2011 13:33:22 +0000 Subject: [PATCH] MFC: r227578 Fix compilation with DEBUG defined. Approved by: re (kib) git-svn-id: svn://svn.freebsd.org/base/releng/9.0@227719 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/sparc64/sbus/lsi64854.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/sparc64/sbus/lsi64854.c b/sys/sparc64/sbus/lsi64854.c index b5cfa437..0c0bacf5 100644 --- a/sys/sparc64/sbus/lsi64854.c +++ b/sys/sparc64/sbus/lsi64854.c @@ -561,7 +561,7 @@ lsi64854_scsi_intr(void *arg) DPRINTF(LDB_SCSI, ("%s: tcl=%d, tcm=%d, tch=%d; trans=%d, resid=%d\n", __func__, NCR_READ_REG(nsc, NCR_TCL), NCR_READ_REG(nsc, NCR_TCM), - (nsc->sc_sc_features & NCR_F_LARGEXFER) != 0 ? + (nsc->sc_features & NCR_F_LARGEXFER) != 0 ? NCR_READ_REG(nsc, NCR_TCH) : 0, trans, resid)); if (dmasize != 0) { -- 2.42.0