diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-04-16 09:06:35 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2001-04-16 09:06:35 +0000 |
commit | be99bbc1d5690437db894fb5bb2b7c11840fcf90 (patch) | |
tree | bb5cce0ed652a8287badfc678384b7c63e78db60 /sys/dev/ic | |
parent | 3240bdf1f19a463d6366b34f9ee6b99a04613a59 (diff) |
incorrect return value from ami_intr
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/ami.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c index 191abf97af1..e65c6825d3e 100644 --- a/sys/dev/ic/ami.c +++ b/sys/dev/ic/ami.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ami.c,v 1.5 2001/03/26 22:21:41 mickey Exp $ */ +/* $OpenBSD: ami.c,v 1.6 2001/04/16 09:06:34 deraadt Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -1052,7 +1052,7 @@ ami_intr(v) { struct ami_softc *sc = v; struct ami_iocmd mbox; - int i, rv; + int i, rv = 0; while ((sc->sc_done)(sc, &mbox)) { AMI_DPRINTF(AMI_D_CMD, ("got-%d ", mbox.acc_nstat)); |