update to pre-4.87 master
[exim.git] / src / src / tod.c
index 0297e375e5c7940ed5200271c026136927071894..8f095aec661acae74af398ba4b1fbc212e8fff94 100644 (file)
@@ -60,7 +60,7 @@ if (type == tod_epoch_l)
   struct timeval tv;
   gettimeofday(&tv, NULL);
   /* Unix epoch/usec format */
-  (void) sprintf(CS timebuf, "%ld%06ld", tv.tv_sec, (long) tv.tv_usec );
+  (void) sprintf(CS timebuf, TIME_T_FMT "%06ld", tv.tv_sec, (long) tv.tv_usec );
   return timebuf;
   }