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

@@ -125,11 +125,11 @@
         "SMBFS filesystem",
         &vfw
 };
 
 static struct modlinkage modlinkage = {
-        MODREV_1, (void *)&modlfs, NULL
+        MODREV_1, { (void *)&modlfs, NULL }
 };
 
 /*
  * Mutex to protect the following variables:
  *        smbfs_major

@@ -266,11 +266,11 @@
         { VFSNAME_STATVFS, { .vfs_statvfs = smbfs_statvfs } },
         { VFSNAME_SYNC, { .vfs_sync = smbfs_sync } },
         { VFSNAME_VGET, { .error = fs_nosys } },
         { VFSNAME_MOUNTROOT, { .error = fs_nosys } },
         { VFSNAME_FREEVFS, { .vfs_freevfs = smbfs_freevfs } },
-        { NULL, NULL }
+        { NULL, { NULL } }
 };
 
 int
 smbfsinit(int fstyp, char *name)
 {