diff options
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); |