Print this page
7127  remove -Wno-missing-braces from Makefile.uts

@@ -221,15 +221,15 @@
 
         return (0);
 }
 
 static const fs_operation_def_t bootfs_vfsops_tmpl[] = {
-        VFSNAME_MOUNT,          { .vfs_mount = bootfs_mount },
-        VFSNAME_UNMOUNT,        { .vfs_unmount = bootfs_unmount },
-        VFSNAME_ROOT,           { .vfs_root = bootfs_root },
-        VFSNAME_STATVFS,        { .vfs_statvfs = bootfs_statvfs },
-        NULL,                   NULL
+        { VFSNAME_MOUNT,        { .vfs_mount = bootfs_mount } },
+        { VFSNAME_UNMOUNT,      { .vfs_unmount = bootfs_unmount } },
+        { VFSNAME_ROOT,         { .vfs_root = bootfs_root } },
+        { VFSNAME_STATVFS,      { .vfs_statvfs = bootfs_statvfs } },
+        { NULL,                 { NULL } }
 };
 
 static int
 bootfs_init(int fstype, char *name)
 {

@@ -273,11 +273,11 @@
 static struct modlfs bootfs_modlfs = {
         &mod_fsops, "boot-time modules file system", &bootfs_vfsdef
 };
 
 static struct modlinkage bootfs_modlinkage = {
-        MODREV_1, &bootfs_modlfs, NULL
+        MODREV_1, { &bootfs_modlfs, NULL }
 };
 
 int
 _init(void)
 {