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

@@ -157,11 +157,11 @@
 static struct modlfs modlfs = {
         &mod_fsops, "filesystem for HSFS", &vfw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlfs, NULL
+        MODREV_1, { (void *)&modlfs, NULL }
 };
 
 extern void hsched_init_caches(void);
 extern void hsched_fini_caches(void);
 

@@ -248,17 +248,17 @@
 
 static int
 hsfsinit(int fstype, char *name)
 {
         static const fs_operation_def_t hsfs_vfsops_template[] = {
-                VFSNAME_MOUNT,          { .vfs_mount = hsfs_mount },
-                VFSNAME_UNMOUNT,        { .vfs_unmount = hsfs_unmount },
-                VFSNAME_ROOT,           { .vfs_root = hsfs_root },
-                VFSNAME_STATVFS,        { .vfs_statvfs = hsfs_statvfs },
-                VFSNAME_VGET,           { .vfs_vget = hsfs_vget },
-                VFSNAME_MOUNTROOT,      { .vfs_mountroot = hsfs_mountroot },
-                NULL,                   NULL
+                { VFSNAME_MOUNT,        { .vfs_mount = hsfs_mount } },
+                { VFSNAME_UNMOUNT,      { .vfs_unmount = hsfs_unmount } },
+                { VFSNAME_ROOT,         { .vfs_root = hsfs_root } },
+                { VFSNAME_STATVFS,      { .vfs_statvfs = hsfs_statvfs } },
+                { VFSNAME_VGET,         { .vfs_vget = hsfs_vget } },
+                { VFSNAME_MOUNTROOT,    { .vfs_mountroot = hsfs_mountroot } },
+                { NULL,                 { NULL } }
         };
         int error;
 
         error = vfs_setfsops(fstype, hsfs_vfsops_template, NULL);
         if (error != 0) {