Merge pull request #86 from spmzt/tzsetwall-freebsd

Build Issue on FreeBSD: tzsetwall() is deprecated, use tzset() instead.
This commit is contained in:
Erik Ekman 2023-04-20 13:20:21 +02:00 committed by GitHub
commit 8b78300e99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2754,7 +2754,7 @@ main(int argc, char **argv)
do_pidfile(pidfile); do_pidfile(pidfile);
#ifdef FREEBSD #ifdef FREEBSD
tzsetwall(); tzset();
#endif #endif
#ifndef WINDOWS32 #ifndef WINDOWS32
openlog(__progname, LOG_NDELAY, LOG_DAEMON); openlog(__progname, LOG_NDELAY, LOG_DAEMON);