diff options
author | phk <phk@FreeBSD.org> | 2003-03-24 19:30:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-03-24 19:30:15 +0000 |
commit | 639a37daa0ebf45c523295d31cafd712c70f3ccd (patch) | |
tree | 1c157d2d81cc94cc489d32ee19a60992a97c11c6 /sys/geom/geom_disk.c | |
parent | 803a8a66ce9e1f83729d0414701c26c086d375a8 (diff) | |
download | FreeBSD-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_disk.c')
-rw-r--r-- | sys/geom/geom_disk.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/geom/geom_disk.c b/sys/geom/geom_disk.c index 6ac4a59..e79fe64 100644 --- a/sys/geom/geom_disk.c +++ b/sys/geom/geom_disk.c @@ -60,9 +60,7 @@ static struct mtx g_disk_done_mtx; static g_access_t g_disk_access; struct g_class g_disk_class = { - "DISK", - NULL, - NULL, + .name = "DISK", G_CLASS_INITIALIZER }; |