summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2004-03-20 03:58:10 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2004-03-20 03:58:10 +0000
commitdca02c171df624e3853acc66ec599b500660fed1 (patch)
tree713f00da0c4238ea23c1a214dd143e15b1658cf2 /sys/dev
parent1b1d62eac8378ffe9933e2937e55e990078cd4d6 (diff)
Remove errant ';' at end of if() statement that was causing pre-mature
termination of the timeout loop in aac_sync_command(). Appears to only have affected attach/init time procedure. Thanks Marco Peereboom for testing, and ok'd by others.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/aac.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/aac.c b/sys/dev/ic/aac.c
index 293ebfe963e..1678458cbcc 100644
--- a/sys/dev/ic/aac.c
+++ b/sys/dev/ic/aac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aac.c,v 1.18 2004/01/10 00:13:36 brad Exp $ */
+/* $OpenBSD: aac.c,v 1.19 2004/03/20 03:58:09 aaron Exp $ */
/*-
* Copyright (c) 2000 Michael Smith
@@ -1132,7 +1132,7 @@ aac_sync_command(sc, command, arg0, arg1, arg2, arg3, sp)
/* spin waiting for the command to complete */
for (i = 0; i < AAC_IMMEDIATE_TIMEOUT * 1000; i++) {
- if (AAC_GET_ISTATUS(sc) & AAC_DB_SYNC_COMMAND);
+ if (AAC_GET_ISTATUS(sc) & AAC_DB_SYNC_COMMAND)
break;
DELAY(1000);
}