diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2016-05-28 22:27:54 +0000 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2016-05-28 22:27:54 +0000 |
commit | 5de1668707959e58e11aad6c4f900e6562ad363d (patch) | |
tree | 96acdea13f4ba75964d3085d6fa5877ed7599962 /lib | |
parent | 8356fc9267d75fefda28e9138116d413ed13c5e4 (diff) | |
download | FreeBSD-src-5de1668707959e58e11aad6c4f900e6562ad363d.zip FreeBSD-src-5de1668707959e58e11aad6c4f900e6562ad363d.tar.gz |
Avoid literal-suffix error due to missing space.
Diffstat (limited to 'lib')
-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); } |