summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_bus.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2000-09-17 23:57:52 +0000
committermdodd <mdodd@FreeBSD.org>2000-09-17 23:57:52 +0000
commitab2373bf20612de1eea78813b69adb542661d450 (patch)
treec164c872fdc7d81759f61d745573e0d9d6d738e9 /sys/kern/subr_bus.c
parent9bd1dd51e891dac2ce769ee3a6a6917efb9fe430 (diff)
downloadFreeBSD-src-ab2373bf20612de1eea78813b69adb542661d450.zip
FreeBSD-src-ab2373bf20612de1eea78813b69adb542661d450.tar.gz
Initialize 'hints_loaded' to 0.
This allows static hints to work properly.
Diffstat (limited to 'sys/kern/subr_bus.c')
-rw-r--r--sys/kern/subr_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_bus.c b/sys/kern/subr_bus.c
index b038f1b..9bd6688 100644
--- a/sys/kern/subr_bus.c
+++ b/sys/kern/subr_bus.c
@@ -100,7 +100,7 @@ static void device_unregister_oids(device_t dev);
extern char static_hints[];
extern int hintmode;
-static int hints_loaded;
+static int hints_loaded = 0;
kobj_method_t null_methods[] = {
{ 0, 0 }
OpenPOWER on IntegriCloud