From 6c428c01560e260c837b7d9a879579bf45161666 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Mon, 29 Mar 2021 09:58:09 -0400 Subject: [PATCH] Properly print out timeval --- src/zm_event.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_event.cpp b/src/zm_event.cpp index 9ab13fafc..7922d1b50 100644 --- a/src/zm_event.cpp +++ b/src/zm_event.cpp @@ -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