2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-30 05:47:45 +00:00

Don't use setlogmask() on 4.2BSD syslog machines

This commit is contained in:
Ted Lemon 1996-05-28 18:16:17 +00:00
parent d01578b720
commit f57589dba8
2 changed files with 4 additions and 0 deletions

View File

@ -94,7 +94,9 @@ int main (argc, argv, envp)
#endif /* !NO_PUTENV */
#ifndef DEBUG
#ifndef SYSLOG_4_2
setlogmask (LOG_UPTO (LOG_INFO));
#endif
/* Become a daemon... */
if ((pid = fork ()) < 0)

View File

@ -94,7 +94,9 @@ int main (argc, argv, envp)
#endif /* !NO_PUTENV */
#ifndef DEBUG
#ifndef SYSLOG_4_2
setlogmask (LOG_UPTO (LOG_INFO));
#endif
/* Become a daemon... */
if ((pid = fork ()) < 0)