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

@@ -81,11 +81,11 @@
 static struct modlfs modlfs = {
         &mod_fsops, "filesystem for proc", &vfw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlfs, NULL
+        MODREV_1, { (void *)&modlfs, NULL }
 };
 
 int
 _init(void)
 {

@@ -139,15 +139,15 @@
 
 static int
 prinit(int fstype, char *name)
 {
         static const fs_operation_def_t pr_vfsops_template[] = {
-                VFSNAME_MOUNT,          { .vfs_mount = prmount },
-                VFSNAME_UNMOUNT,        { .vfs_unmount = prunmount },
-                VFSNAME_ROOT,           { .vfs_root = prroot },
-                VFSNAME_STATVFS,        { .vfs_statvfs = prstatvfs },
-                NULL,                   NULL
+                { VFSNAME_MOUNT,        { .vfs_mount = prmount } },
+                { VFSNAME_UNMOUNT,      { .vfs_unmount = prunmount } },
+                { VFSNAME_ROOT,         { .vfs_root = prroot } },
+                { VFSNAME_STATVFS,      { .vfs_statvfs = prstatvfs } },
+                { NULL,                 { NULL } }
         };
         extern const fs_operation_def_t pr_vnodeops_template[];
         int error;
 
         nproc_highbit = highbit(v.v_proc);