Print this page
7127 remove -Wno-missing-braces from Makefile.uts
*** 153,171 ****
int
nfsinit(int fstyp, char *name)
{
static const fs_operation_def_t nfs_vfsops_template[] = {
! VFSNAME_MOUNT, { .vfs_mount = nfs_mount },
! VFSNAME_UNMOUNT, { .vfs_unmount = nfs_unmount },
! VFSNAME_ROOT, { .vfs_root = nfs_root },
! VFSNAME_STATVFS, { .vfs_statvfs = nfs_statvfs },
! VFSNAME_SYNC, { .vfs_sync = nfs_sync },
! VFSNAME_VGET, { .vfs_vget = nfs_vget },
! VFSNAME_MOUNTROOT, { .vfs_mountroot = nfs_mountroot },
! VFSNAME_FREEVFS, { .vfs_freevfs = nfs_freevfs },
! NULL, NULL
};
int error;
error = vfs_setfsops(fstyp, nfs_vfsops_template, &nfs_vfsops);
if (error != 0) {
--- 153,171 ----
int
nfsinit(int fstyp, char *name)
{
static const fs_operation_def_t nfs_vfsops_template[] = {
! { VFSNAME_MOUNT, { .vfs_mount = nfs_mount } },
! { VFSNAME_UNMOUNT, { .vfs_unmount = nfs_unmount } },
! { VFSNAME_ROOT, { .vfs_root = nfs_root } },
! { VFSNAME_STATVFS, { .vfs_statvfs = nfs_statvfs } },
! { VFSNAME_SYNC, { .vfs_sync = nfs_sync } },
! { VFSNAME_VGET, { .vfs_vget = nfs_vget } },
! { VFSNAME_MOUNTROOT, { .vfs_mountroot = nfs_mountroot } },
! { VFSNAME_FREEVFS, { .vfs_freevfs = nfs_freevfs } },
! { NULL, { NULL } }
};
int error;
error = vfs_setfsops(fstyp, nfs_vfsops_template, &nfs_vfsops);
if (error != 0) {