From owner-svn-src-head@freebsd.org Sun Dec 25 20:19:33 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 DB449C90DD0; Sun, 25 Dec 2016 20:19:33 +0000 (UTC) (envelope-from jhibbits@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 AAA0ED23; Sun, 25 Dec 2016 20:19:33 +0000 (UTC) (envelope-from jhibbits@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uBPKJWJJ093699; Sun, 25 Dec 2016 20:19:32 GMT (envelope-from jhibbits@FreeBSD.org) Received: (from jhibbits@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uBPKJWQ1093698; Sun, 25 Dec 2016 20:19:32 GMT (envelope-from jhibbits@FreeBSD.org) Message-Id: <201612252019.uBPKJWQ1093698@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhibbits set sender to jhibbits@FreeBSD.org using -f From: Justin Hibbits Date: Sun, 25 Dec 2016 20:19:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r310556 - head/sys/powerpc/powerpc 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.23 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: Sun, 25 Dec 2016 20:19:34 -0000 Author: jhibbits Date: Sun Dec 25 20:19:32 2016 New Revision: 310556 URL: https://svnweb.freebsd.org/changeset/base/310556 Log: Use the correct format specifier for physmem chunk sizes. Arguments are unsigned, so should be printed as unsigned. Modified: head/sys/powerpc/powerpc/machdep.c Modified: head/sys/powerpc/powerpc/machdep.c ============================================================================== --- head/sys/powerpc/powerpc/machdep.c Sun Dec 25 20:17:15 2016 (r310555) +++ head/sys/powerpc/powerpc/machdep.c Sun Dec 25 20:19:32 2016 (r310556) @@ -199,7 +199,7 @@ cpu_startup(void *dummy) phys_avail[indx + 1] - phys_avail[indx]; #ifdef __powerpc64__ - printf("0x%016jx - 0x%016jx, %jd bytes (%jd pages)\n", + printf("0x%016jx - 0x%016jx, %ju bytes (%ju pages)\n", #else printf("0x%09jx - 0x%09jx, %ju bytes (%ju pages)\n", #endif