diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-03-08 20:22:03 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-03-08 20:22:03 +0000 |
commit | 153bcd9bd3b337120e1afc75ce63cb5b80730913 (patch) | |
tree | 6974ee359fc3b40bb6257aeba350140b285071e6 /tools/convert-leapsecs.c | |
parent | c14410b47a2719e8b1d74b438dc868d6eb973da4 (diff) | |
download | skalibs-153bcd9bd3b337120e1afc75ce63cb5b80730913.tar.xz |
bugfix: leap second table. Also add leapsec reporting in localtm.
Diffstat (limited to 'tools/convert-leapsecs.c')
-rw-r--r-- | tools/convert-leapsecs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/convert-leapsecs.c b/tools/convert-leapsecs.c index 27f8507..78e0f73 100644 --- a/tools/convert-leapsecs.c +++ b/tools/convert-leapsecs.c @@ -41,7 +41,7 @@ int main (int argc, char const *const *argv) tm.tm_hour = 23 ; t = mktime(&tm) ; if (t < 0) strerr_diefu1sys(111, "mktime") ; - tt = t + 10 ; + tt = t + 1 ; add_leapsecs(&tt) ; if (!genalloc_append(uint64_t, &table, &tt)) strerr_diefu1sys(111, "genalloc_append") ; |