Print this page
7127 remove -Wno-missing-braces from Makefile.uts
@@ -90,11 +90,11 @@
static struct modlfs modlfs = {
&mod_fsops, "devices filesystem", &devfs_vfssw
};
static struct modlinkage modlinkage = {
- MODREV_1, (void *)&modlfs, NULL
+ MODREV_1, { (void *)&modlfs, NULL }
};
int
_init(void)
{
@@ -126,17 +126,17 @@
/*ARGSUSED1*/
static int
devfsinit(int fstype, char *name)
{
static const fs_operation_def_t devfs_vfsops_template[] = {
- VFSNAME_MOUNT, { .vfs_mount = devfs_mount },
- VFSNAME_UNMOUNT, { .vfs_unmount = devfs_unmount },
- VFSNAME_ROOT, { .vfs_root = devfs_root },
- VFSNAME_STATVFS, { .vfs_statvfs = devfs_statvfs },
- VFSNAME_SYNC, { .vfs_sync = fs_sync },
- VFSNAME_MOUNTROOT, { .vfs_mountroot = devfs_mountroot },
- NULL, NULL
+ { VFSNAME_MOUNT, { .vfs_mount = devfs_mount } },
+ { VFSNAME_UNMOUNT, { .vfs_unmount = devfs_unmount } },
+ { VFSNAME_ROOT, { .vfs_root = devfs_root } },
+ { VFSNAME_STATVFS, { .vfs_statvfs = devfs_statvfs } },
+ { VFSNAME_SYNC, { .vfs_sync = fs_sync } },
+ { VFSNAME_MOUNTROOT, { .vfs_mountroot = devfs_mountroot } },
+ { NULL, { NULL } }
};
int error;
int dev;
extern major_t getudev(void); /* gack - what a function */