Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 151,169 ****
int
nfs3init(int fstyp, char *name)
{
static const fs_operation_def_t nfs3_vfsops_template[] = {
! VFSNAME_MOUNT, { .vfs_mount = nfs3_mount },
! VFSNAME_UNMOUNT, { .vfs_unmount = nfs3_unmount },
! VFSNAME_ROOT, { .vfs_root = nfs3_root },
! VFSNAME_STATVFS, { .vfs_statvfs = nfs3_statvfs },
! VFSNAME_SYNC, { .vfs_sync = nfs3_sync },
! VFSNAME_VGET, { .vfs_vget = nfs3_vget },
! VFSNAME_MOUNTROOT, { .vfs_mountroot = nfs3_mountroot },
! VFSNAME_FREEVFS, { .vfs_freevfs = nfs3_freevfs },
! NULL, NULL
};
int error;
error = vfs_setfsops(fstyp, nfs3_vfsops_template, &nfs3_vfsops);
if (error != 0) {
--- 151,169 ----
int
nfs3init(int fstyp, char *name)
{
static const fs_operation_def_t nfs3_vfsops_template[] = {
! { VFSNAME_MOUNT, { .vfs_mount = nfs3_mount } },
! { VFSNAME_UNMOUNT, { .vfs_unmount = nfs3_unmount } },
! { VFSNAME_ROOT, { .vfs_root = nfs3_root } },
! { VFSNAME_STATVFS, { .vfs_statvfs = nfs3_statvfs } },
! { VFSNAME_SYNC, { .vfs_sync = nfs3_sync } },
! { VFSNAME_VGET, { .vfs_vget = nfs3_vget } },
! { VFSNAME_MOUNTROOT, { .vfs_mountroot = nfs3_mountroot } },
! { VFSNAME_FREEVFS, { .vfs_freevfs = nfs3_freevfs } },
! { NULL, { NULL } }
};
int error;
error = vfs_setfsops(fstyp, nfs3_vfsops_template, &nfs3_vfsops);
if (error != 0) {