kopia lustrzana https://gitlab.com/sane-project/backends
add µsec to timestamp
rodzic
d9f35d1b5e
commit
738444cd1c
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue