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

@@ -103,11 +103,11 @@
 static struct modlfs modlfs = {
         &mod_fsops, "/dev filesystem", &sdev_vfssw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlfs, NULL
+        MODREV_1, { (void *)&modlfs, NULL }
 };
 
 int
 _init(void)
 {

@@ -143,15 +143,15 @@
 /*ARGSUSED*/
 static int
 devinit(int fstype, char *name)
 {
         static const fs_operation_def_t dev_vfsops_tbl[] = {
-                VFSNAME_MOUNT,          { .vfs_mount = sdev_mount },
-                VFSNAME_UNMOUNT,        { .vfs_unmount = sdev_unmount },
-                VFSNAME_ROOT,           { .vfs_root = sdev_root },
-                VFSNAME_STATVFS,        { .vfs_statvfs = sdev_statvfs },
-                NULL,                   NULL
+                { VFSNAME_MOUNT,        { .vfs_mount = sdev_mount } },
+                { VFSNAME_UNMOUNT,      { .vfs_unmount = sdev_unmount } },
+                { VFSNAME_ROOT,         { .vfs_root = sdev_root } },
+                { VFSNAME_STATVFS,      { .vfs_statvfs = sdev_statvfs } },
+                { NULL,                 { NULL } }
         };
 
         int     error;
         extern major_t getudev(void);