summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorThomas Nordin <nordin@cvs.openbsd.org>2001-12-17 23:13:42 +0000
committerThomas Nordin <nordin@cvs.openbsd.org>2001-12-17 23:13:42 +0000
commitd7dc541c3ea8cc5531a39e3010f9562d521c1224 (patch)
treebf0247d7a5cbea4872aba67dd875c1111ae8b3ee /sys
parentfd252373a7599ebb2e5f859f9977306acc2f869d (diff)
Initialize variable before use. ok fgs@
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/ncr53c9x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ncr53c9x.c b/sys/dev/ic/ncr53c9x.c
index aefb82b5c5c..71801c15489 100644
--- a/sys/dev/ic/ncr53c9x.c
+++ b/sys/dev/ic/ncr53c9x.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ncr53c9x.c,v 1.10 2001/09/27 04:01:42 jason Exp $ */
+/* $OpenBSD: ncr53c9x.c,v 1.11 2001/12/17 23:13:41 nordin Exp $ */
/* $NetBSD: ncr53c9x.c,v 1.56 2000/11/30 14:41:46 thorpej Exp $ */
/*
@@ -2711,7 +2711,7 @@ ncr53c9x_abort(sc, ecb)
ecb->flags |= ECB_ABORT;
if (ecb == sc->sc_nexus) {
- int timeout;
+ int timeout = ecb->timeout;
/*
* If we're still selecting, the message will be scheduled