From owner-svn-src-all@FreeBSD.ORG Fri Dec 16 23:15:12 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1468D106566B; Fri, 16 Dec 2011 23:15:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 03AC08FC14; Fri, 16 Dec 2011 23:15:12 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id pBGNFBTu031276; Fri, 16 Dec 2011 23:15:11 GMT (envelope-from dim@svn.freebsd.org) Received: (from dim@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id pBGNFBrJ031274; Fri, 16 Dec 2011 23:15:11 GMT (envelope-from dim@svn.freebsd.org) Message-Id: <201112162315.pBGNFBrJ031274@svn.freebsd.org> From: Dimitry Andric Date: Fri, 16 Dec 2011 23:15:11 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r228604 - head/contrib/gperf/src X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 23:15:12 -0000 Author: dim Date: Fri Dec 16 23:15:11 2011 New Revision: 228604 URL: http://svn.freebsd.org/changeset/base/228604 Log: In contrib/gperf/src/output.cc, use the correct printf length modifier for a ptrdiff_t. MFC after: 1 week Modified: head/contrib/gperf/src/output.cc Modified: head/contrib/gperf/src/output.cc ============================================================================== --- head/contrib/gperf/src/output.cc Fri Dec 16 23:09:31 2011 (r228603) +++ head/contrib/gperf/src/output.cc Fri Dec 16 23:15:11 2011 (r228604) @@ -1300,7 +1300,7 @@ Output::output_lookup_array () const if (option[DEBUG]) fprintf (stderr, - "dup_ptr[%d]: hash_value = %d, index = %d, count = %d\n", + "dup_ptr[%td]: hash_value = %d, index = %d, count = %d\n", dup_ptr - duplicates, dup_ptr->hash_value, dup_ptr->index, dup_ptr->count);