Print this page
fixup .text where possible
7127  remove -Wno-missing-braces from Makefile.uts

@@ -111,12 +111,11 @@
         &ncall_ops
 };
 
 static struct modlinkage modlinkage = {
         MODREV_1,
-        &modldrv,
-        0
+        { &modldrv, NULL }
 };
 
 typedef struct ncall_modinfo_s {
         struct ncall_modinfo_s  *next;
         ncall_module_t          *module;

@@ -339,11 +338,11 @@
 
 /* ARGSUSED */
 static int ncallioctl(dev_t dev, int cmd, intptr_t arg, int mode,
     cred_t *crp, int *rvalp)
 {
-        ncall_node_t node = { 0, };
+        ncall_node_t node = { .nc_nodeid = 0 };
         int mirror;
         int rc = 0;
 
         *rvalp = 0;