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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/bootfs/bootfs_construct.c
          +++ new/usr/src/uts/common/fs/bootfs/bootfs_construct.c
↓ open down ↓ 31 lines elided ↑ open up ↑
  32   32  static const vattr_t bootfs_vattr_dir = {
  33   33          AT_ALL,                                 /* va_mask */
  34   34          VDIR,                                   /* va_type */
  35   35          S_IFDIR | 0555,                         /* va_mode */
  36   36          0,                                      /* va_uid */
  37   37          0,                                      /* va_gid */
  38   38          0,                                      /* va_fsid */
  39   39          0,                                      /* va_nodeid */
  40   40          1,                                      /* va_nlink */
  41   41          0,                                      /* va_size */
  42      -        0,                                      /* va_atime */
  43      -        0,                                      /* va_mtime */
  44      -        0,                                      /* va_ctime */
       42 +        {0},                                    /* va_atime */
       43 +        {0},                                    /* va_mtime */
       44 +        {0},                                    /* va_ctime */
  45   45          0,                                      /* va_rdev */
  46   46          0,                                      /* va_blksize */
  47   47          0,                                      /* va_nblocks */
  48   48          0                                       /* va_seq */
  49   49  };
  50   50  
  51   51  static const vattr_t bootfs_vattr_reg = {
  52   52          AT_ALL,                                 /* va_mask */
  53   53          VREG,                                   /* va_type */
  54   54          S_IFREG | 0555,                         /* va_mode */
  55   55          0,                                      /* va_uid */
  56   56          0,                                      /* va_gid */
  57   57          0,                                      /* va_fsid */
  58   58          0,                                      /* va_nodeid */
  59   59          1,                                      /* va_nlink */
  60   60          0,                                      /* va_size */
  61      -        0,                                      /* va_atime */
  62      -        0,                                      /* va_mtime */
  63      -        0,                                      /* va_ctime */
       61 +        {0},                                    /* va_atime */
       62 +        {0},                                    /* va_mtime */
       63 +        {0},                                    /* va_ctime */
  64   64          0,                                      /* va_rdev */
  65   65          0,                                      /* va_blksize */
  66   66          0,                                      /* va_nblocks */
  67   67          0                                       /* va_seq */
  68   68  };
  69   69  
  70   70  /*ARGSUSED*/
  71   71  int
  72   72  bootfs_node_constructor(void *buf, void *arg, int kmflags)
  73   73  {
↓ open down ↓ 295 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX