From 5d445dcb4eba34ecbe64a6eb7e68d6fc47a22bd8 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Mon, 24 Mar 2003 19:46:26 +0000 Subject: Change g_class initialization to sparse format. --- sys/dev/md/md.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c index 034fa07afd3ef..94fa730a9124d 100644 --- a/sys/dev/md/md.c +++ b/sys/dev/md/md.c @@ -336,9 +336,7 @@ s_write(struct indir *ip, off_t offset, uintptr_t ptr) struct g_class g_md_class = { - "MD", - NULL, - NULL, + .name = "MD", G_CLASS_INITIALIZER }; -- cgit v1.3