Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -138,11 +138,11 @@
static struct modlfs modlfs = {
&mod_fsops, "filesystem for UDFS", &vfw
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&modlfs, NULL
+ MODREV_1, { (void *)&modlfs, NULL }
};
int32_t udf_fstype = -1;
int
@@ -1910,18 +1910,18 @@
static int
udfinit(int fstype, char *name)
{
static const fs_operation_def_t udf_vfsops_template[] = {
- VFSNAME_MOUNT, { .vfs_mount = udf_mount },
- VFSNAME_UNMOUNT, { .vfs_unmount = udf_unmount },
- VFSNAME_ROOT, { .vfs_root = udf_root },
- VFSNAME_STATVFS, { .vfs_statvfs = udf_statvfs },
- VFSNAME_SYNC, { .vfs_sync = udf_sync },
- VFSNAME_VGET, { .vfs_vget = udf_vget },
- VFSNAME_MOUNTROOT, { .vfs_mountroot = udf_mountroot },
- NULL, NULL
+ { VFSNAME_MOUNT, { .vfs_mount = udf_mount } },
+ { VFSNAME_UNMOUNT, { .vfs_unmount = udf_unmount } },
+ { VFSNAME_ROOT, { .vfs_root = udf_root } },
+ { VFSNAME_STATVFS, { .vfs_statvfs = udf_statvfs } },
+ { VFSNAME_SYNC, { .vfs_sync = udf_sync } },
+ { VFSNAME_VGET, { .vfs_vget = udf_vget } },
+ { VFSNAME_MOUNTROOT, { .vfs_mountroot = udf_mountroot } },
+ { NULL, { NULL } }
};
extern struct vnodeops *udf_vnodeops;
extern const fs_operation_def_t udf_vnodeops_template[];
int error;