diff options
Diffstat (limited to 'lib/libdevdctl')
-rw-r--r-- | lib/libdevdctl/event.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libdevdctl/event.cc b/lib/libdevdctl/event.cc index 3c6304b..d63e8e2 100644 --- a/lib/libdevdctl/event.cc +++ b/lib/libdevdctl/event.cc @@ -435,7 +435,7 @@ Event::TimestampEventString(std::string &eventString) size_t eventEnd(eventString.find_last_not_of('\n') + 1); if (gettimeofday(&now, NULL) != 0) err(1, "gettimeofday"); - snprintf(timebuf, bufsize, " timestamp=%"PRId64, + snprintf(timebuf, bufsize, " timestamp=%" PRId64, (int64_t) now.tv_sec); eventString.insert(eventEnd, timebuf); } |