Print this page
7127  remove -Wno-missing-braces from Makefile.uts

*** 99,114 **** &mod_fsops, "filesystem for autofs", &vfw }; static struct modlinkage modlinkage = { MODREV_1, ! &modlfs, &modlsys, #ifdef _SYSCALL32_IMPL &modlsys32, #endif NULL }; /* * This is the module initialization routine. */ --- 99,115 ---- &mod_fsops, "filesystem for autofs", &vfw }; static struct modlinkage modlinkage = { MODREV_1, ! { &modlfs, &modlsys, #ifdef _SYSCALL32_IMPL &modlsys32, #endif NULL + } }; /* * This is the module initialization routine. */
*** 245,259 **** int autofs_init(int fstype, char *name) { static const fs_operation_def_t auto_vfsops_template[] = { ! VFSNAME_MOUNT, { .vfs_mount = auto_mount }, ! VFSNAME_UNMOUNT, { .vfs_unmount = auto_unmount }, ! VFSNAME_ROOT, { .vfs_root = auto_root }, ! VFSNAME_STATVFS, { .vfs_statvfs = auto_statvfs }, ! NULL, NULL }; int error; autofs_fstype = fstype; ASSERT(autofs_fstype != 0); --- 246,260 ---- int autofs_init(int fstype, char *name) { static const fs_operation_def_t auto_vfsops_template[] = { ! { VFSNAME_MOUNT, { .vfs_mount = auto_mount } }, ! { VFSNAME_UNMOUNT, { .vfs_unmount = auto_unmount } }, ! { VFSNAME_ROOT, { .vfs_root = auto_root } }, ! { VFSNAME_STATVFS, { .vfs_statvfs = auto_statvfs } }, ! { NULL, { NULL } } }; int error; autofs_fstype = fstype; ASSERT(autofs_fstype != 0);