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

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

@@ -363,11 +363,11 @@
 static const fs_operation_def_t ctfs_vfstops[] = {
         { VFSNAME_MOUNT,        { .vfs_mount = ctfs_mount } },
         { VFSNAME_UNMOUNT,      { .vfs_unmount = ctfs_unmount } },
         { VFSNAME_ROOT,         { .vfs_root = ctfs_root } },
         { VFSNAME_STATVFS,      { .vfs_statvfs = ctfs_statvfs } },
-        { NULL, NULL }
+        { NULL,                 { NULL } }
 };
 
 /*
  * ctfs_common_getattr
  *

@@ -515,7 +515,7 @@
         { VOPNAME_ACCESS,       { .vop_access = ctfs_access_dir } },
         { VOPNAME_READDIR,      { .vop_readdir = gfs_vop_readdir } },
         { VOPNAME_LOOKUP,       { .vop_lookup = gfs_vop_lookup } },
         { VOPNAME_SEEK,         { .vop_seek = fs_seek } },
         { VOPNAME_INACTIVE,     { .vop_inactive = gfs_vop_inactive } },
-        { NULL, NULL }
+        { NULL,                 { NULL } }
 };