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

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

@@ -324,11 +324,11 @@
  */
 int
 fifoinit(int fstype, char *name)
 {
         static const fs_operation_def_t fifo_vfsops_template[] = {
-                NULL, NULL
+                { NULL, { NULL } }
         };
         int error;
         major_t dev;
 
         fifofstype = fstype;