Print this page
7127  remove -Wno-missing-braces from Makefile.uts
        
*** 23,34 ****
   *
   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
   * Use is subject to license terms.
   */
  
- #pragma ident   "%Z%%M% %I%     %E% SMI"
- 
  #include <sys/types.h>
  #include <sys/param.h>
  #include <sys/time.h>
  #include <sys/cmn_err.h>
  #include <sys/systm.h>
--- 23,32 ----
*** 75,133 ****
          char    *err_text;      /* specific error message */
          uchar_t multiple;       /* > 1 such error per fs possible? */
          uchar_t n_printf_args;  /* if err_text printf-like, # addtl args */
  } hsfs_error[] = {
          /* HSFS_ERR_TRAILING_JUNK */
!         "hsfs: Warning: the file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
          "trailing blanks or null characters in file or directory name.\n",
!         1, 0,
          /* HSFS_ERR_LOWER_CASE_NM */
!         "hsfs: Warning: the file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
          "lower case characters in file or directory name.\n",
!         1, 0,
          /* HSFS_ERR_BAD_ROOT_DIR */
!         "hsfs: Warning: the file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
          "invalid root directory.\n",
!         0,  0,
          /* HSFS_ERR_UNSUP_TYPE */
!         "hsfs: Warning: the file system mounted on %s "
                  "contains a file or directory with an unsupported type:",
          " 0x%x.\n",
!         1, 1,
          /* HSFS_ERR_BAD_FILE_LEN */
!         "hsfs: Warning: file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
          "file name length greater than max allowed\n",
!         1, 0,
          /* HSFS_ERR_BAD_JOLIET_FILE_LEN */
!         "hsfs: Warning: file system mounted on %s "
                  "does not conform to the Joliet specification:",
          "file name length greater than max allowed\n",
!         1, 0,
          /* HSFS_ERR_TRUNC_JOLIET_FILE_LEN */
!         "hsfs: Warning: file system mounted on %s "
                  "does not conform to the Joliet specification:",
          "file name length greater than MAXNAMELEN (truncated)\n",
!         1, 0,
          /* HSFS_ERR_BAD_DIR_ENTRY */
!         "hsfs: Warning: file system mounted on %s "
                  "has inconsistent data:",
          "invalid directory or file name length (ignored)\n",
!         1, 0,
          /* HSFS_ERR_NEG_SUA_LEN */
!         "hsfs: Warning: file system mounted on %s "
                  "has inconsistent Rock Ridge data:",
          "negative SUA len\n",
!         1, 0,
          /* HSFS_ERR_BAD_SUA_LEN */
!         "hsfs: Warning: file system mounted on %s "
                  "has inconsistent Rock Ridge data:",
          "SUA len too big\n",
!         1, 0,
  };
  
  /*
   * Local datatype for defining tables of (Offset, Name) pairs for
   * kstats.
--- 73,131 ----
          char    *err_text;      /* specific error message */
          uchar_t multiple;       /* > 1 such error per fs possible? */
          uchar_t n_printf_args;  /* if err_text printf-like, # addtl args */
  } hsfs_error[] = {
          /* HSFS_ERR_TRAILING_JUNK */
!         {   "hsfs: Warning: the file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
              "trailing blanks or null characters in file or directory name.\n",
!             1, 0 },
          /* HSFS_ERR_LOWER_CASE_NM */
!         {   "hsfs: Warning: the file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
              "lower case characters in file or directory name.\n",
!             1, 0 },
          /* HSFS_ERR_BAD_ROOT_DIR */
!         {   "hsfs: Warning: the file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
              "invalid root directory.\n",
!             0, 0 },
          /* HSFS_ERR_UNSUP_TYPE */
!         {   "hsfs: Warning: the file system mounted on %s "
                  "contains a file or directory with an unsupported type:",
              " 0x%x.\n",
!             1, 1 },
          /* HSFS_ERR_BAD_FILE_LEN */
!         {   "hsfs: Warning: file system mounted on %s "
                  "does not conform to the ISO-9660 specification:",
              "file name length greater than max allowed\n",
!             1, 0 },
          /* HSFS_ERR_BAD_JOLIET_FILE_LEN */
!         {   "hsfs: Warning: file system mounted on %s "
                  "does not conform to the Joliet specification:",
              "file name length greater than max allowed\n",
!             1, 0 },
          /* HSFS_ERR_TRUNC_JOLIET_FILE_LEN */
!         {   "hsfs: Warning: file system mounted on %s "
                  "does not conform to the Joliet specification:",
              "file name length greater than MAXNAMELEN (truncated)\n",
!             1, 0 },
          /* HSFS_ERR_BAD_DIR_ENTRY */
!         {   "hsfs: Warning: file system mounted on %s "
                  "has inconsistent data:",
              "invalid directory or file name length (ignored)\n",
!             1, 0 },
          /* HSFS_ERR_NEG_SUA_LEN */
!         {   "hsfs: Warning: file system mounted on %s "
                  "has inconsistent Rock Ridge data:",
              "negative SUA len\n",
!             1, 0 },
          /* HSFS_ERR_BAD_SUA_LEN */
!         {   "hsfs: Warning: file system mounted on %s "
                  "has inconsistent Rock Ridge data:",
              "SUA len too big\n",
!             1, 0 }
  };
  
  /*
   * Local datatype for defining tables of (Offset, Name) pairs for
   * kstats.