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

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