diff options
author | Omar Polo <op@omarpolo.com> | 2022-07-07 18:15:06 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2022-07-07 18:15:06 +0000 |
commit | bd2eb0952052d9213b3b3832d2f2f8e16257f244 (patch) | |
tree | 0d32bd275f54b873d60e2a46f1f978bb174b3e7a /log.c | |
parent | 93124fce990ed1215559f303bdd147d2eeef3260 (diff) |
call tzset(3) to fix times in logs
reported by Karl Jeacle, thanks!
Diffstat (limited to 'log.c')
-rw-r--r-- | log.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -334,6 +334,7 @@ logger_main(int fd, struct imsgbuf *ibuf) log = stderr; openlog(getprogname(), LOG_NDELAY, LOG_DAEMON); + tzset(); event_init(); |