]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - time/tst_wcsftime.c
Update automatically-generated copyright dates
[thirdparty/glibc.git] / time / tst_wcsftime.c
index 3f6f0d9f770af7dba7e40694ab648a73e7e2921d..55c45f6a8131a6981b0870d3f77b86bac0efb6b7 100644 (file)
@@ -10,7 +10,7 @@ main (int argc, char *argv[])
   int result = 0;
   size_t n;
 
-  time (&t);
+  t = time (NULL);
   tp = gmtime (&t);
 
   n = wcsftime (buf, sizeof (buf) / sizeof (buf[0]),