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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/acct.c
          +++ new/usr/src/uts/common/os/acct.c
↓ open down ↓ 82 lines elided ↑ open up ↑
  83   83  };
  84   84  
  85   85  #ifdef _SYSCALL32_IMPL
  86   86  static struct modlsys modlsys32 = {
  87   87          &mod_syscallops32, "32-bit acct(2) syscall", &acctsysent
  88   88  };
  89   89  #endif
  90   90  
  91   91  static struct modlinkage modlinkage = {
  92   92          MODREV_1,
  93      -        &modlsys,
       93 +        {   &modlsys,
  94   94  #ifdef _SYSCALL32_IMPL
  95      -        &modlsys32,
       95 +            &modlsys32,
  96   96  #endif
  97      -        NULL
       97 +            NULL
       98 +        }
  98   99  };
  99  100  
 100  101  /*ARGSUSED*/
 101  102  static void *
 102  103  acct_init(zoneid_t zoneid)
 103  104  {
 104  105          struct acct_globals *ag;
 105  106  
 106  107          ag = kmem_alloc(sizeof (*ag), KM_SLEEP);
 107  108          bzero(&ag->acctbuf, sizeof (ag->acctbuf));
↓ open down ↓ 334 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX