summaryrefslogtreecommitdiffstats
path: root/sys/pci
diff options
context:
space:
mode:
authormjacob <mjacob@FreeBSD.org>2001-01-09 02:12:42 +0000
committermjacob <mjacob@FreeBSD.org>2001-01-09 02:12:42 +0000
commit8ca418447a04a4b969f905e196670b0bd0eaf5be (patch)
tree572613ddd6b18fc32f4de456c9d8b13587dd2af0 /sys/pci
parentbd0d2d531fe3a747690cc8fb4c458f9f7f29735a (diff)
downloadFreeBSD-src-8ca418447a04a4b969f905e196670b0bd0eaf5be.zip
FreeBSD-src-8ca418447a04a4b969f905e196670b0bd0eaf5be.tar.gz
add missing length argument
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/isp_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/isp_pci.c b/sys/pci/isp_pci.c
index acc7048..6186615 100644
--- a/sys/pci/isp_pci.c
+++ b/sys/pci/isp_pci.c
@@ -905,7 +905,7 @@ isp_pci_mbxdma(struct ispsoftc *isp)
if (bus_dmamem_alloc(pci->cntrol_dmat, (void **)&base,
BUS_DMA_NOWAIT, &pci->cntrol_dmap) != 0) {
isp_prt(isp, ISP_LOGERR,
- "cannot allocate %d bytes of CCB memory");
+ "cannot allocate %d bytes of CCB memory", len);
free(isp->isp_xflist, M_DEVBUF);
free(pci->dmaps, M_DEVBUF);
return (1);
OpenPOWER on IntegriCloud