Print this page
fixup .text where possible
7127 remove -Wno-missing-braces from Makefile.uts
@@ -198,11 +198,11 @@
static int
zut_stat64(vnode_t *vp, struct stat64 *sb, uint64_t *xvs, int flag, cred_t *cr)
{
xoptattr_t *xoap = NULL;
- xvattr_t xv = { 0 };
+ xvattr_t xv = {{ 0 }};
int error;
xva_init(&xv);
XVA_SET_REQ(&xv, XAT_ARCHIVE);
@@ -516,12 +516,12 @@
&zut_dev_ops
};
static struct modlinkage modlinkage = {
MODREV_1,
- (void *)&zut_modldrv,
- NULL
+ { (void *)&zut_modldrv,
+ NULL }
};
int
_init(void)
{