Avoid literal-suffix error due to missing space.
This commit is contained in:
parent
ee972428cd
commit
1176e2a818
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=300915
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user