summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_bsd.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-03-24 19:30:15 +0000
committerphk <phk@FreeBSD.org>2003-03-24 19:30:15 +0000
commit639a37daa0ebf45c523295d31cafd712c70f3ccd (patch)
tree1c157d2d81cc94cc489d32ee19a60992a97c11c6 /sys/geom/geom_bsd.c
parent803a8a66ce9e1f83729d0414701c26c086d375a8 (diff)
downloadFreeBSD-src-639a37daa0ebf45c523295d31cafd712c70f3ccd.zip
FreeBSD-src-639a37daa0ebf45c523295d31cafd712c70f3ccd.tar.gz
Premptively change initializations of struct g_class to use C99
sparse struct initializations before we extend the struct with new OAM related member functions.
Diffstat (limited to 'sys/geom/geom_bsd.c')
-rw-r--r--sys/geom/geom_bsd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index 9a76f70..6e14333 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -928,9 +928,8 @@ g_bsd_taste(struct g_class *mp, struct g_provider *pp, int flags)
/* Finally, register with GEOM infrastructure. */
static struct g_class g_bsd_class = {
- BSD_CLASS_NAME,
- g_bsd_taste,
- NULL,
+ .name = BSD_CLASS_NAME,
+ .taste = g_bsd_taste,
G_CLASS_INITIALIZER
};
OpenPOWER on IntegriCloud