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

@@ -99,16 +99,17 @@
         &mod_fsops, "filesystem for autofs", &vfw
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        &modlfs,
+        {   &modlfs,
         &modlsys,
 #ifdef  _SYSCALL32_IMPL
         &modlsys32,
 #endif
         NULL
+        }
 };
 
 /*
  * This is the module initialization routine.
  */

@@ -245,15 +246,15 @@
 
 int
 autofs_init(int fstype, char *name)
 {
         static const fs_operation_def_t auto_vfsops_template[] = {
-                VFSNAME_MOUNT,          { .vfs_mount = auto_mount },
-                VFSNAME_UNMOUNT,        { .vfs_unmount = auto_unmount },
-                VFSNAME_ROOT,           { .vfs_root = auto_root },
-                VFSNAME_STATVFS,        { .vfs_statvfs = auto_statvfs },
-                NULL,                   NULL
+                { VFSNAME_MOUNT,        { .vfs_mount = auto_mount } },
+                { VFSNAME_UNMOUNT,      { .vfs_unmount = auto_unmount } },
+                { VFSNAME_ROOT,         { .vfs_root = auto_root } },
+                { VFSNAME_STATVFS,      { .vfs_statvfs = auto_statvfs } },
+                { NULL,                 { NULL } }
         };
         int error;
 
         autofs_fstype = fstype;
         ASSERT(autofs_fstype != 0);