diff --git a/sys/geom/geom_mbr.c b/sys/geom/geom_mbr.c index cef7466c6cc7..68b9fbaa41f0 100644 --- a/sys/geom/geom_mbr.c +++ b/sys/geom/geom_mbr.c @@ -474,9 +474,8 @@ g_mbrext_taste(struct g_class *mp, struct g_provider *pp, int insist __unused) static struct g_class g_mbrext_class = { - MBREXT_CLASS_NAME, - g_mbrext_taste, - NULL, + .name = MBREXT_CLASS_NAME, + .taste = g_mbrext_taste, G_CLASS_INITIALIZER };