about summary refs log tree commit diff
path: root/time/tst-posixtz.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/tst-posixtz.c')
-rw-r--r--time/tst-posixtz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/time/tst-posixtz.c b/time/tst-posixtz.c
index c1ea267cb4..16aa19d654 100644
--- a/time/tst-posixtz.c
+++ b/time/tst-posixtz.c
@@ -39,7 +39,8 @@ do_test (void)
       char buf[100];
       struct tm *tmp;
 
-      printf ("TZ = \"%s\", time = %ld => ", tests[cnt].tz, tests[cnt].when);
+      printf ("TZ = \"%s\", time = %jd => ", tests[cnt].tz,
+	      (intmax_t) tests[cnt].when);
       fflush (stdout);
 
       setenv ("TZ", tests[cnt].tz, 1);