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

@@ -25,12 +25,10 @@
 
 /*      Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
 /*        All Rights Reserved   */
 
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 #include <sys/types.h>
 #include <sys/sysmacros.h>
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/file.h>

@@ -48,17 +46,17 @@
 #include <sys/strsubr.h>
 #include <sys/fs/snode.h>
 
 sess_t session0 = {
         &pid0,          /* s_sidp */
-        {0},            /* s_lock */
+        {{NULL}},       /* s_lock */
         1,              /* s_ref */
         B_FALSE,        /* s_sighuped */
         B_FALSE,        /* s_exit */
-        0,              /* s_exit_cv */
+        {0},            /* s_exit_cv */
         0,              /* s_cnt */
-        0,              /* s_cnt_cv */
+        {0},            /* s_cnt_cv */
         NODEV,          /* s_dev */
         NULL,           /* s_vp */
         NULL            /* s_cred */
 };