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/syseventd/modules/devfsadmd_mod/devfsadmd_mod.c
          +++ new/usr/src/cmd/syseventd/modules/devfsadmd_mod/devfsadmd_mod.c
↓ open down ↓ 325 lines elided ↑ open up ↑
 326  326          }
 327  327  
 328  328          sysevent_cleanup_subscribers(sysevent_hp);
 329  329          cleanup = 0;
 330  330          eventq_head = NULL;
 331  331          eventq_tail = NULL;
 332  332  
 333  333          (void) mutex_init(&evq_lock, USYNC_THREAD, NULL);
 334  334          (void) cond_init(&evq_cv, USYNC_THREAD, NULL);
 335  335  
 336      -        if (thr_create(NULL, NULL, (void *(*)(void *))devfsadmd_deliver_thr,
      336 +        if (thr_create(NULL, 0, (void *(*)(void *))devfsadmd_deliver_thr,
 337  337              NULL, THR_BOUND, &deliver_thr_id) != 0) {
 338  338                  (void) mutex_destroy(&evq_lock);
 339  339                  (void) cond_destroy(&evq_cv);
 340  340                  sysevent_close_channel(sysevent_hp);
 341  341                  return (NULL);
 342  342          }
 343  343  
 344  344          return (&devfsadm_mod_ops);
 345  345  }
 346  346  
↓ open down ↓ 19 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX