summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--log.c2
-rw-r--r--tmux.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/log.c b/log.c
index ecb9698a..8c2fdb07 100644
--- a/log.c
+++ b/log.c
@@ -48,8 +48,6 @@ log_open(const char *path)
setvbuf(log_file, NULL, _IOLBF, 0);
event_set_log_callback(log_event_cb);
-
- tzset();
}
/* Close logging. */
diff --git a/tmux.c b/tmux.c
index 875e8d72..0b8e6a91 100644
--- a/tmux.c
+++ b/tmux.c
@@ -199,6 +199,7 @@ main(int argc, char **argv)
#endif
setlocale(LC_TIME, "");
+ tzset();
if (**argv == '-')
flags = CLIENT_LOGIN;