Print this page
5218 posix definition of NULL
correct unistd.h and iso/stddef_iso.h
update gate source affected

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/avs/sdbc/scmadm.c
          +++ new/usr/src/cmd/avs/sdbc/scmadm.c
↓ open down ↓ 117 lines elided ↑ open up ↑
 118  118              progname, (sz), MAX_CACHE_SIZE); \
 119  119          spcs_log("sdbc", NULL, \
 120  120                  gettext("desired cache size (%d) "\
 121  121                      "set to system max (%d)\n"), \
 122  122                  (sz), MAX_CACHE_SIZE); \
 123  123  }
 124  124  
 125  125  void
 126  126  sdbc_report_error(spcs_s_info_t *ustatus)
 127  127  {
 128      -        if (*ustatus != NULL) {
      128 +        if (*ustatus != (uintptr_t)NULL) {
 129  129                  spcs_s_report(*ustatus, stderr);
 130  130                  spcs_s_ufree(ustatus);
 131  131          } else
 132  132                  (void) fprintf(stderr, "%s\n", strerror(errno));
 133  133  }
 134  134  
 135  135  
 136  136  /*
 137  137   * Return the per-cd hints for a cd.
 138  138   *
↓ open down ↓ 2018 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX