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/lib/libdtrace/common/dt_handle.c
          +++ new/usr/src/lib/libdtrace/common/dt_handle.c
↓ open down ↓ 239 lines elided ↑ open up ↑
 240  240          const int slop = 80;
 241  241          char *str;
 242  242          int len;
 243  243  
 244  244          err.dteda_edesc = data->dtpda_edesc;
 245  245          err.dteda_pdesc = errpd;
 246  246          err.dteda_cpu = data->dtpda_cpu;
 247  247          err.dteda_action = -1;
 248  248          err.dteda_offset = -1;
 249  249          err.dteda_fault = DTRACEFLT_LIBRARY;
 250      -        err.dteda_addr = NULL;
      250 +        err.dteda_addr = 0L;
 251  251  
 252  252          len = strlen(faultstr) +
 253  253              strlen(errpd->dtpd_provider) + strlen(errpd->dtpd_mod) +
 254  254              strlen(errpd->dtpd_name) + strlen(errpd->dtpd_func) +
 255  255              slop;
 256  256  
 257  257          str = alloca(len);
 258  258  
 259  259          (void) snprintf(str, len, "error on enabled probe ID %u "
 260  260              "(ID %u: %s:%s:%s:%s): %s\n",
↓ open down ↓ 221 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX