diff options
author | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-06-25 00:58:40 +0000 |
---|---|---|
committer | Hans-Joerg Hoexer <hshoexer@cvs.openbsd.org> | 2004-06-25 00:58:40 +0000 |
commit | 3a2d72ec7c281837b8775f07b69d851aa707c38b (patch) | |
tree | f8b67d385d7c1f72bd1c81677222ff664c48b53a /sbin/isakmpd/log.c | |
parent | 79981a6702f0f02cb3422972b06742e038d3a438 (diff) |
Narrow down privsep interface. Remove ui_init to monitor. So we can get rid of
monitor_mkfifo.
Work in progress.
ok ho@
Diffstat (limited to 'sbin/isakmpd/log.c')
-rw-r--r-- | sbin/isakmpd/log.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/isakmpd/log.c b/sbin/isakmpd/log.c index 469f238c319..000530cd9c6 100644 --- a/sbin/isakmpd/log.c +++ b/sbin/isakmpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.47 2004/06/21 16:37:30 ho Exp $ */ +/* $OpenBSD: log.c,v 1.48 2004/06/25 00:58:39 hshoexer Exp $ */ /* $EOM: log.c,v 1.30 2000/09/29 08:19:23 niklas Exp $ */ /* @@ -382,7 +382,11 @@ log_fatal(const char *fmt, ...) va_start(ap, fmt); _log_print(1, LOG_CRIT, fmt, ap, LOG_PRINT, 0); va_end(ap); +#ifdef USE_PRIVSEP + monitor_exit(1); +#else exit(1); +#endif } #ifdef USE_DEBUG |