summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/misc/time/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/time/time.c b/libc/misc/time/time.c
index 9bc8bc4cf..e2dadc211 100644
--- a/libc/misc/time/time.c
+++ b/libc/misc/time/time.c
@@ -1698,13 +1698,13 @@ void tzset(void)
#ifdef __UCLIBC_HAS_TZ_CACHING__
*oldval = 0; /* Set oldval to an empty string. */
#endif /* __UCLIBC_HAS_TZ_CACHING__ */
+ _time_tzinfo[0].gmt_offset = 0L;
s = _time_tzinfo[0].tzname;
*s = 'U';
*++s = 'T';
*++s = 'C';
*++s =
*_time_tzinfo[1].tzname = 0;
- _time_tzinfo[0].gmt_offset = 0;
goto DONE;
}