summaryrefslogtreecommitdiff
path: root/src/libstddjb/localtm_from_sysclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstddjb/localtm_from_sysclock.c')
-rw-r--r--src/libstddjb/localtm_from_sysclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstddjb/localtm_from_sysclock.c b/src/libstddjb/localtm_from_sysclock.c
index d63a6d8..02a9f67 100644
--- a/src/libstddjb/localtm_from_sysclock.c
+++ b/src/libstddjb/localtm_from_sysclock.c
@@ -7,5 +7,5 @@
int localtm_from_sysclock (struct tm *l, uint64_t u, int tz)
{
if (!ltm64_from_sysclock(&u)) return 0 ;
- return localtm_from_ltm64(l, u, tz) ;
+ return localtm_from_ltm64(l, u, !!tz) ;
}