summaryrefslogtreecommitdiff
path: root/tools/convert-leapsecs.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/convert-leapsecs.c')
-rw-r--r--tools/convert-leapsecs.c2
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") ;