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

View File

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