summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordyson <dyson@FreeBSD.org>1995-09-06 05:06:18 +0000
committerdyson <dyson@FreeBSD.org>1995-09-06 05:06:18 +0000
commit098759436eed94bbe7beb7fef56ac001c9fa5338 (patch)
tree4b8844d5c18973a9614bedaab4e71819e1bb812d /sys
parent1ca77c224f6ac0394d5a2963d4c9fd37c98593a2 (diff)
downloadFreeBSD-src-098759436eed94bbe7beb7fef56ac001c9fa5338.zip
FreeBSD-src-098759436eed94bbe7beb7fef56ac001c9fa5338.tar.gz
Correct the location of a "return". This can/will cause system crashes.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/wd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/isa/wd.c b/sys/i386/isa/wd.c
index 01a0066..d2fd68d 100644
--- a/sys/i386/isa/wd.c
+++ b/sys/i386/isa/wd.c
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)wd.c 7.2 (Berkeley) 5/9/91
- * $Id: wd.c,v 1.81 1995/05/16 07:52:04 davidg Exp $
+ * $Id: wd.c,v 1.82 1995/08/18 11:26:35 jkh Exp $
*/
/* TODO:
@@ -652,8 +652,8 @@ loop:
if (atapi_start (ctrlr))
/* mark controller active in ATAPI mode */
wdtab[ctrlr].b_active = 3;
- return;
#endif
+ return;
}
/* obtain controller and drive information */
OpenPOWER on IntegriCloud