Date: Sat, 28 May 2016 22:27:54 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300915 - head/lib/libdevdctl Message-ID: <201605282227.u4SMRs1i023954@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605282227.u4SMRs1i023954>