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

@@ -132,15 +132,16 @@
 };
 #endif
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        &modlsys,
+        {   &modlsys,
 #ifdef _SYSCALL32_IMPL
         &modlsys32,
 #endif
         NULL
+        }
 };
 
 dev_t   doordev;
 
 extern  struct vfs door_vfs;

@@ -148,11 +149,11 @@
 
 int
 _init(void)
 {
         static const fs_operation_def_t door_vfsops_template[] = {
-                NULL, NULL
+                { NULL, { NULL } }
         };
         extern const fs_operation_def_t door_vnodeops_template[];
         vfsops_t *door_vfsops;
         major_t major;
         int error;