Properly print out timeval

This commit is contained in:
Isaac Connor 2021-03-29 09:58:09 -04:00
parent 9463cf8565
commit 6c428c0156
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ Event::Event(
strftime(buffer_now, 26, "%Y:%m:%d %H:%M:%S", &tm_info);
Error(
"StartDateTime in the future starttime %u.%u >? now %u.%u difference %d\n%s\n%s",
"StartDateTime in the future starttime %ld.%06ld >? now %ld.%06ld difference %d\nstarttime: %s\nnow: %s",
start_time.tv_sec, start_time.tv_usec, now.tv_sec, now.tv_usec,
(now.tv_sec-start_time.tv_sec),
buffer, buffer_now