diff options
author | mdodd <mdodd@FreeBSD.org> | 2000-09-17 23:57:52 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2000-09-17 23:57:52 +0000 |
commit | ab2373bf20612de1eea78813b69adb542661d450 (patch) | |
tree | c164c872fdc7d81759f61d745573e0d9d6d738e9 /sys | |
parent | 9bd1dd51e891dac2ce769ee3a6a6917efb9fe430 (diff) | |
download | FreeBSD-src-ab2373bf20612de1eea78813b69adb542661d450.zip FreeBSD-src-ab2373bf20612de1eea78813b69adb542661d450.tar.gz |
Initialize 'hints_loaded' to 0.
This allows static hints to work properly.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/subr_bus.c | 2 |
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 } |