From ad8a01f928d22e6bb9907a478104c5f787c254c1 Mon Sep 17 00:00:00 2001 From: phk Date: Wed, 6 Nov 2002 20:05:15 +0000 Subject: Straighten up the geom.ctl config interface definitions. Sponsored by: DARPA & NAI Labs --- sys/geom/geom_subr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/geom/geom_subr.c') 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); -- cgit v1.1