svn commit: r300915 - head/lib/libdevdctl
Bryan Drewery
bdrewery at FreeBSD.org
Sat May 28 22:27:55 UTC 2016
Author: bdrewery
Date: Sat May 28 22:27:54 2016
New Revision: 300915
URL: https://svnweb.freebsd.org/changeset/base/300915
Log:
Avoid literal-suffix error due to missing space.
Modified:
head/lib/libdevdctl/event.cc
Modified: head/lib/libdevdctl/event.cc
==============================================================================
--- head/lib/libdevdctl/event.cc Sat May 28 21:26:50 2016 (r300914)
+++ head/lib/libdevdctl/event.cc Sat May 28 22:27:54 2016 (r300915)
@@ -435,7 +435,7 @@ Event::TimestampEventString(std::string
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);
}
More information about the svn-src-head
mailing list