]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/log.c
Updated years in all README's.
[libucw.git] / ucw / log.c
index 5a5dc808c9487ba8d479a896187678701387445f..419c5e9fcca30ef741f625b8ee7bf769894ea25f 100644 (file)
--- a/ucw/log.c
+++ b/ucw/log.c
@@ -118,6 +118,7 @@ vmsg(uns cat, const char *fmt, va_list args)
     {
       /* CAVEAT: These calls are not safe in signal handlers. */
       gettimeofday(&tv, NULL);
+      m.tv = &tv;
       if (localtime_r(&tv.tv_sec, &tm))
        m.tm = &tm;
     }