Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -77,11 +77,11 @@
static struct modlfs modlfs = {
&mod_fsops, "mount information file system", &vfw
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&modlfs, NULL
+ MODREV_1, { (void *)&modlfs, NULL }
};
int
_init(void)
{
@@ -130,15 +130,15 @@
static int
mntinit(int fstype, char *name)
{
static const fs_operation_def_t mnt_vfsops_template[] = {
- VFSNAME_MOUNT, { .vfs_mount = mntmount },
- VFSNAME_UNMOUNT, { .vfs_unmount = mntunmount },
- VFSNAME_ROOT, { .vfs_root = mntroot },
- VFSNAME_STATVFS, { .vfs_statvfs = mntstatvfs },
- NULL, NULL
+ { VFSNAME_MOUNT, { .vfs_mount = mntmount } },
+ { VFSNAME_UNMOUNT, { .vfs_unmount = mntunmount } },
+ { VFSNAME_ROOT, { .vfs_root = mntroot } },
+ { VFSNAME_STATVFS, { .vfs_statvfs = mntstatvfs } },
+ { NULL, { NULL } }
};
extern const fs_operation_def_t mnt_vnodeops_template[];
int error;
mntfstype = fstype;