From owner-svn-src-head@freebsd.org Fri Feb 26 10:24:25 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 74C08AB4DF3; Fri, 26 Feb 2016 10:24:25 +0000 (UTC) (envelope-from wma@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 46EA91EEC; Fri, 26 Feb 2016 10:24:25 +0000 (UTC) (envelope-from wma@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1QAOOCY021180; Fri, 26 Feb 2016 10:24:24 GMT (envelope-from wma@FreeBSD.org) Received: (from wma@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1QAOOPw021179; Fri, 26 Feb 2016 10:24:24 GMT (envelope-from wma@FreeBSD.org) Message-Id: <201602261024.u1QAOOPw021179@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: wma set sender to wma@FreeBSD.org using -f From: Wojciech Macek Date: Fri, 26 Feb 2016 10:24:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r296090 - head/usr.sbin/pciconf 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.20 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: Fri, 26 Feb 2016 10:24:25 -0000 Author: wma Date: Fri Feb 26 10:24:24 2016 New Revision: 296090 URL: https://svnweb.freebsd.org/changeset/base/296090 Log: Change format string in pciconf EA to jx Fix compilation error introduced by r296081 Modified: head/usr.sbin/pciconf/cap.c Modified: head/usr.sbin/pciconf/cap.c ============================================================================== --- head/usr.sbin/pciconf/cap.c Fri Feb 26 09:50:35 2016 (r296089) +++ head/usr.sbin/pciconf/cap.c Fri Feb 26 10:24:24 2016 (r296090) @@ -657,13 +657,13 @@ cap_ea(int fd, struct pci_conf *p, uint8 b++; } - printf("\n\t\t [%d] %s, %s, %s, base [0x%lx], size [0x%lx]" + printf("\n\t\t [%d] %s, %s, %s, base [0x%jx], size [0x%jx]" "\n\t\t\tPrimary properties [0x%x] (%s)" "\n\t\t\tSecondary properties [0x%x] (%s)", bei, ea_bei_to_name(bei), (flags & PCIM_EA_ENABLE ? "Enabled" : "Disabled"), - (flags & PCIM_EA_WRITABLE ? "Writable" : "Read-only"), - base, max_offset + 1, + (flags & PCIM_EA_WRITABLE ? "Writable" : "Read-only"), + (uintmax_t)base, (uintmax_t)(max_offset + 1), flags_pp, ea_prop_to_name(flags_pp), flags_sp, ea_prop_to_name(flags_sp)); }