Print this page
Reduce lint
*** 1206,1216 ****
/*
* This thread should receive SIGHUP so that it can close the log
* file, and reopen it, during log rotation.
*/
! sigset(SIGHUP, hup_handler);
(void) sigfillset(&blockset);
(void) sigdelset(&blockset, SIGHUP);
(void) thr_sigsetmask(SIG_BLOCK, &blockset, NULL);
if (!shutting_down) {
--- 1206,1216 ----
/*
* This thread should receive SIGHUP so that it can close the log
* file, and reopen it, during log rotation.
*/
! (void) sigset(SIGHUP, hup_handler);
(void) sigfillset(&blockset);
(void) sigdelset(&blockset, SIGHUP);
(void) thr_sigsetmask(SIG_BLOCK, &blockset, NULL);
if (!shutting_down) {
*** 1382,1391 ****
--- 1382,1392 ----
done:
zonecfg_fini_handle(handle);
}
+ /* ARGSUSED -- "id" might be used in the future. */
void
create_log_thread(zlog_t *logp, zoneid_t id)
{
int res;