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); 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);