From 873b0260d42fdc599d5de776d288e5b424439884 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Fri, 20 May 2016 11:56:16 +0000 Subject: [PATCH] Pass proper for 23xx arguments to isp_endcmd(). --- sys/dev/isp/isp_freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index a62d0c38e0c9..32f8e1db76f2 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -2003,7 +2003,7 @@ noresrc: ntp = isp_get_ntpd(isp, tptr); if (ntp == NULL) { rls_lun_statep(isp, tptr); - isp_endcmd(isp, aep, nphdl, 0, SCSI_STATUS_BUSY, 0); + isp_endcmd(isp, aep, SCSI_STATUS_BUSY, 0); return; } memcpy(ntp->rd.data, aep, QENTRY_LEN);