View | Details | Raw Unified | Return to bug 973 | Differences between
and this patch

Collapse All | Expand All

(-)log.c (+8 lines)
Lines 261-266 log_init(char *av0, LogLevel level, Sysl Link Here
261
		    (int) facility);
261
		    (int) facility);
262
		exit(1);
262
		exit(1);
263
	}
263
	}
264
	/* XXX */
265
#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT)
266
	openlog_r(argv0 ? argv0 : __progname, LOG_PID, log_facility, &sdata);
267
	closelog_r(&sdata);
268
#else
269
	openlog(argv0 ? argv0 : __progname, LOG_PID, log_facility);
270
	closelog();
271
#endif
264
}
272
}
265
273
266
#define MSGBUFSIZ 1024
274
#define MSGBUFSIZ 1024

Return to bug 973