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

@@ -183,19 +183,20 @@
  * All of the module configuration linkages required to configure
  * the system call and client VFS's into the system.
  */
 static struct modlinkage_big modlinkage = {
         MODREV_1,
-        &modlsys,
+        {   &modlsys,
 #ifdef _SYSCALL32_IMPL
         &modlsys32,
 #endif
         &modlfs,
         &modlfs2,
         &modlfs3,
         &modlfs4,
         NULL
+        }
 };
 
 /*
  * This routine is invoked automatically when the kernel module
  * containing this routine is loaded.  This allows module specific

@@ -328,12 +329,12 @@
 /* ARGSUSED */
 static int
 nfsdyninit(int fstyp, char *name)
 {
         static const fs_operation_def_t nfsdyn_vfsops_template[] = {
-                VFSNAME_MOUNTROOT, { .vfs_mountroot = nfsdyn_mountroot },
-                NULL, NULL
+                { VFSNAME_MOUNTROOT, { .vfs_mountroot = nfsdyn_mountroot } },
+                { NULL,                 { NULL } }
         };
         int error;
 
         error = vfs_setfsops(fstyp, nfsdyn_vfsops_template, &nfsdyn_vfsops);
         if (error != 0)