summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-11-07 17:44:34 +0000
committerwollman <wollman@FreeBSD.org>1993-11-07 17:44:34 +0000
commitbd2b2815f291360b8d6f823a643e5c9c89064acf (patch)
tree8181e139e7414ba85de90570a27a8738e38f9636 /sys/dev/ed
parent371ee40cea1e168ed119bcd1cde2809629c4ac68 (diff)
downloadFreeBSD-src-bd2b2815f291360b8d6f823a643e5c9c89064acf.zip
FreeBSD-src-bd2b2815f291360b8d6f823a643e5c9c89064acf.tar.gz
Made all header files idempotent and moved incorrect common data from
headers into a related source file. Also fixed a bug in ed_probe() where it was possible to fall off the end of the function
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 91eb929..5cbf73c 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -20,7 +20,7 @@
*/
/*
- * $Id: if_ed.c,v 2.11 1993/10/23 04:21:03 davidg Exp davidg $
+ * $Id: if_ed.c,v 1.21 1993/10/23 04:52:41 davidg Exp $
*/
/*
@@ -240,6 +240,8 @@ ed_probe(isa_dev)
if (nports = ed_probe_Novell(isa_dev))
return (nports);
+
+ return 0; /* Added by GW: don't fall off the end */
}
/*
OpenPOWER on IntegriCloud