Print this page
Reduce lint
@@ -1206,11 +1206,11 @@
/*
* This thread should receive SIGHUP so that it can close the log
* file, and reopen it, during log rotation.
*/
- sigset(SIGHUP, hup_handler);
+ (void) sigset(SIGHUP, hup_handler);
(void) sigfillset(&blockset);
(void) sigdelset(&blockset, SIGHUP);
(void) thr_sigsetmask(SIG_BLOCK, &blockset, NULL);
if (!shutting_down) {
@@ -1382,10 +1382,11 @@
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;