summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1997-02-03 17:24:25 +0000
committergibbs <gibbs@FreeBSD.org>1997-02-03 17:24:25 +0000
commit42aa3dbf370a471cf685abafab4cb1fd4719f2d3 (patch)
treed39923f426dbeae8f538a0412eb4c4ddd9945ec0 /sys
parentba729f4a34beb3ddc9420c4b3f7f67038d2029ff (diff)
downloadFreeBSD-src-42aa3dbf370a471cf685abafab4cb1fd4719f2d3.zip
FreeBSD-src-42aa3dbf370a471cf685abafab4cb1fd4719f2d3.tar.gz
Initialization of a variable got lost in the last commit when I moved
a piece of code into a subroutine.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/scsi/aic7xxx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/i386/scsi/aic7xxx.c b/sys/i386/scsi/aic7xxx.c
index a3e72e0..8c1c85a 100644
--- a/sys/i386/scsi/aic7xxx.c
+++ b/sys/i386/scsi/aic7xxx.c
@@ -2946,6 +2946,7 @@ ahc_search_qinfo(ahc, target, channel, tag, flags, xs_error, requeue)
struct scb *scbp;
STAILQ_HEAD(, scb) removed_scbs;
+ found = 0;
for (i = 0; i < (queued - found); i++) {
saved_queue[i] = ahc_inb(ahc, QINFIFO);
scbp = ahc->scb_data->scbarray[saved_queue[i]];
OpenPOWER on IntegriCloud