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

@@ -97,11 +97,11 @@
 static struct modlfs modlfs = {
         &mod_fsops, "filesystem for lofs", &vfw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlfs, NULL
+        MODREV_1, { (void *)&modlfs, NULL }
 };
 
 /*
  * This is the module initialization routine.
  */

@@ -550,18 +550,18 @@
 
 static int
 lofsinit(int fstyp, char *name)
 {
         static const fs_operation_def_t lo_vfsops_template[] = {
-                VFSNAME_MOUNT,          { .vfs_mount = lo_mount },
-                VFSNAME_UNMOUNT,        { .vfs_unmount = lo_unmount },
-                VFSNAME_ROOT,           { .vfs_root = lo_root },
-                VFSNAME_STATVFS,        { .vfs_statvfs = lo_statvfs },
-                VFSNAME_SYNC,           { .vfs_sync = lo_sync },
-                VFSNAME_VGET,           { .vfs_vget = lo_vget },
-                VFSNAME_FREEVFS,        { .vfs_freevfs = lo_freevfs },
-                NULL,                   NULL
+                { VFSNAME_MOUNT,        { .vfs_mount = lo_mount } },
+                { VFSNAME_UNMOUNT,      { .vfs_unmount = lo_unmount } },
+                { VFSNAME_ROOT,         { .vfs_root = lo_root } },
+                { VFSNAME_STATVFS,      { .vfs_statvfs = lo_statvfs } },
+                { VFSNAME_SYNC,         { .vfs_sync = lo_sync } },
+                { VFSNAME_VGET,         { .vfs_vget = lo_vget } },
+                { VFSNAME_FREEVFS,      { .vfs_freevfs = lo_freevfs } },
+                { NULL,                 { NULL } }
         };
         int error;
 
         error = vfs_setfsops(fstyp, lo_vfsops_template, &lo_vfsops);
         if (error != 0) {