summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2010-06-28 05:43:47 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2010-06-28 05:43:47 +0000
commit60c8a6e9a7a26f75c81e93cdbd1770448549d00d (patch)
tree62e94ea135dbf2028e939703413383aff802988c /sys/dev/ic
parent4d362a3a585bc06dfe3de19f8ceae845cd9124b1 (diff)
add back the initialisation of a loop condition that
was mistakenly removed in 1.208 ok dlg@ marco@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/ami.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 4547376579c..d0dcfa34310 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.209 2010/06/23 04:53:53 dlg Exp $ */
+/* $OpenBSD: ami.c,v 1.210 2010/06/28 05:43:46 jsg Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -1013,7 +1013,7 @@ ami_complete(struct ami_softc *sc, struct ami_ccb *ccb, int timeout)
{
void (*done)(struct ami_softc *, struct ami_ccb *);
int ready;
- int i;
+ int i = 0;
int s;
done = ccb->ccb_done;