diff options
author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-03-11 12:58:55 +0000 |
---|---|---|
committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-03-11 12:58:55 +0000 |
commit | 9397290e76aa2221cbdf104cc46dafd3e9e779d4 (patch) | |
tree | d80c1ed0f5ff7fc7c422007db569eb63e1395ee9 /sys/dev/snp/snp.c | |
parent | 03f0d9e8ae6d98324d750f279801106df7b32877 (diff) |
Add clone_setup() function rather than rely on lazy initialization.
Requested by: rwatson
Notes
Notes:
svn path=/head/; revision=126845
Diffstat (limited to 'sys/dev/snp/snp.c')
-rw-r--r-- | sys/dev/snp/snp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 19dc1e7d6f80..ebf888e44481 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -631,6 +631,7 @@ snp_modevent(mod, type, data) switch (type) { case MOD_LOAD: /* XXX error checking. */ + clone_setup(&snpclones); eh_tag = EVENTHANDLER_REGISTER(dev_clone, snp_clone, 0, 1000); snooplinedisc = ldisc_register(LDISC_LOAD, &snpdisc); break; |