add µsec to timestamp

merge-requests/228/head
Rolf Bensch 2019-11-26 17:33:07 +01:00
rodzic d9f35d1b5e
commit 738444cd1c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -156,7 +156,7 @@ sanei_debug_msg
gettimeofday (&tv, NULL);
t = localtime (&tv.tv_sec);
fprintf (stderr, "[%02d:%02d:%02d] [%s] ", t->tm_hour, t->tm_min, t->tm_sec, be);
fprintf (stderr, "[%02d:%02d:%02d.%06ld] [%s] ", t->tm_hour, t->tm_min, t->tm_sec, tv.tv_usec, be);
vfprintf (stderr, fmt, ap);
}