From owner-svn-src-head@freebsd.org Sat May 28 22:27:55 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46031B4E3D3; Sat, 28 May 2016 22:27:55 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 13A021DA8; Sat, 28 May 2016 22:27:55 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4SMRs5o023955; Sat, 28 May 2016 22:27:54 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4SMRs1i023954; Sat, 28 May 2016 22:27:54 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201605282227.u4SMRs1i023954@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Sat, 28 May 2016 22:27:54 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r300915 - head/lib/libdevdctl X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 May 2016 22:27:55 -0000 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); }