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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/fs/sockfs/socksubr.c
          +++ new/usr/src/uts/common/fs/sockfs/socksubr.c
↓ open down ↓ 211 lines elided ↑ open up ↑
 212  212  
 213  213  extern so_create_func_t sock_comm_create_function;
 214  214  extern so_destroy_func_t sock_comm_destroy_function;
 215  215  /*
 216  216   * Init function called when sockfs is loaded.
 217  217   */
 218  218  int
 219  219  sockinit(int fstype, char *name)
 220  220  {
 221  221          static const fs_operation_def_t sock_vfsops_template[] = {
 222      -                NULL, NULL
      222 +                { NULL, { NULL } }
 223  223          };
 224  224          int error;
 225  225          major_t dev;
 226  226          char *err_str;
 227  227  
 228  228          error = vfs_setfsops(fstype, sock_vfsops_template, NULL);
 229  229          if (error != 0) {
 230  230                  zcmn_err(GLOBAL_ZONEID, CE_WARN,
 231  231                      "sockinit: bad vfs ops template");
 232  232                  return (error);
↓ open down ↓ 1717 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX