diff options
author | phk <phk@FreeBSD.org> | 2002-11-06 20:05:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-11-06 20:05:15 +0000 |
commit | ad8a01f928d22e6bb9907a478104c5f787c254c1 (patch) | |
tree | 8020852f2d71d6d028e8de130696a3b08a3f9cd9 /sys/geom/geom_subr.c | |
parent | fd412ae82b5e378696c60be23a09910141b9f96d (diff) | |
download | FreeBSD-src-ad8a01f928d22e6bb9907a478104c5f787c254c1.zip FreeBSD-src-ad8a01f928d22e6bb9907a478104c5f787c254c1.tar.gz |
Straighten up the geom.ctl config interface definitions.
Sponsored by: DARPA & NAI Labs
Diffstat (limited to 'sys/geom/geom_subr.c')
-rw-r--r-- | sys/geom/geom_subr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_subr.c b/sys/geom/geom_subr.c index e134fd9..96f3b61e 100644 --- a/sys/geom/geom_subr.c +++ b/sys/geom/geom_subr.c @@ -591,7 +591,7 @@ g_insert_geom(char *class, struct g_consumer *cp) mp = g_class_by_name(class); if (mp == NULL) return (NULL); - if (mp->create_geom == NULL) + if (mp->config == NULL) return (NULL); pp = cp->provider; gp = mp->taste(mp, pp, G_TF_TRANSPARENT); |