Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -206,11 +206,11 @@
static struct modlfs modlfs = {
&mod_fsops, "filesystem for ufs", &vfw
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&modlfs, NULL
+ MODREV_1, { (void *)&modlfs, NULL }
};
/*
* An attempt has been made to make this module unloadable. In order to
* test it, we need a system in which the root fs is NOT ufs. THIS HAS NOT
@@ -2069,18 +2069,18 @@
static int
ufsinit(int fstype, char *name)
{
static const fs_operation_def_t ufs_vfsops_template[] = {
- VFSNAME_MOUNT, { .vfs_mount = ufs_mount },
- VFSNAME_UNMOUNT, { .vfs_unmount = ufs_unmount },
- VFSNAME_ROOT, { .vfs_root = ufs_root },
- VFSNAME_STATVFS, { .vfs_statvfs = ufs_statvfs },
- VFSNAME_SYNC, { .vfs_sync = ufs_sync },
- VFSNAME_VGET, { .vfs_vget = ufs_vget },
- VFSNAME_MOUNTROOT, { .vfs_mountroot = ufs_mountroot },
- NULL, NULL
+ { VFSNAME_MOUNT, { .vfs_mount = ufs_mount } },
+ { VFSNAME_UNMOUNT, { .vfs_unmount = ufs_unmount } },
+ { VFSNAME_ROOT, { .vfs_root = ufs_root } },
+ { VFSNAME_STATVFS, { .vfs_statvfs = ufs_statvfs } },
+ { VFSNAME_SYNC, { .vfs_sync = ufs_sync } },
+ { VFSNAME_VGET, { .vfs_vget = ufs_vget } },
+ { VFSNAME_MOUNTROOT, { .vfs_mountroot = ufs_mountroot } },
+ { NULL, { NULL } }
};
int error;
ufsfstype = fstype;