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

@@ -901,13 +901,13 @@
 #endif  /* _LP64 */
 
         /* Second, copy out the brand specific aux vectors. */
         if (args->to_model == DATAMODEL_NATIVE) {
                 auxv_t brand_auxv[] = {
-                    { AT_SUN_BRAND_AUX1, 0 },
-                    { AT_SUN_BRAND_AUX2, 0 },
-                    { AT_SUN_BRAND_AUX3, 0 }
+                    { AT_SUN_BRAND_AUX1, {0} },
+                    { AT_SUN_BRAND_AUX2, {0} },
+                    { AT_SUN_BRAND_AUX3, {0} }
                 };
 
                 ASSERT(brand_auxv[0].a_type ==
                     AT_SUN_BRAND_COMMON_LDDATA);
                 brand_auxv[0].a_un.a_val = sed.sed_lddata;

@@ -917,13 +917,13 @@
                         return (EFAULT);
         }
 #if defined(_LP64)
         else {
                 auxv32_t brand_auxv32[] = {
-                    { AT_SUN_BRAND_AUX1, 0 },
-                    { AT_SUN_BRAND_AUX2, 0 },
-                    { AT_SUN_BRAND_AUX3, 0 }
+                    { AT_SUN_BRAND_AUX1, {0} },
+                    { AT_SUN_BRAND_AUX2, {0} },
+                    { AT_SUN_BRAND_AUX3, {0} }
                 };
 
                 ASSERT(brand_auxv32[0].a_type == AT_SUN_BRAND_COMMON_LDDATA);
                 brand_auxv32[0].a_un.a_val = (uint32_t)sed.sed_lddata;
                 if (copyout(&brand_auxv32, args->auxp_brand,