From owner-svn-src-head@FreeBSD.ORG Wed May 21 18:02:20 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3214B7BC; Wed, 21 May 2014 18:02:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 1F6832FA1; Wed, 21 May 2014 18:02:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4LI2JGc033463; Wed, 21 May 2014 18:02:19 GMT (envelope-from hselasky@svn.freebsd.org) Received: (from hselasky@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4LI2JDq033462; Wed, 21 May 2014 18:02:19 GMT (envelope-from hselasky@svn.freebsd.org) Message-Id: <201405211802.s4LI2JDq033462@svn.freebsd.org> From: Hans Petter Selasky Date: Wed, 21 May 2014 18:02:19 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266515 - head/sys/boot/fdt 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.18 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: Wed, 21 May 2014 18:02:20 -0000 Author: hselasky Date: Wed May 21 18:02:19 2014 New Revision: 266515 URL: http://svnweb.freebsd.org/changeset/base/266515 Log: "%p" formatting already includes "0x" prefix in printout. Modified: head/sys/boot/fdt/fdt_loader_cmd.c Modified: head/sys/boot/fdt/fdt_loader_cmd.c ============================================================================== --- head/sys/boot/fdt/fdt_loader_cmd.c Wed May 21 17:39:49 2014 (r266514) +++ head/sys/boot/fdt/fdt_loader_cmd.c Wed May 21 18:02:19 2014 (r266515) @@ -233,7 +233,7 @@ fdt_load_dtb_addr(struct fdt_header *hea { int err; - debugf("fdt_load_dtb_addr(0x%p)\n", header); + debugf("fdt_load_dtb_addr(%p)\n", header); fdtp_size = fdt_totalsize(header); err = fdt_check_header(header); @@ -321,7 +321,7 @@ fdt_setup_fdtp() if (*p == '\0') { if (fdt_load_dtb_addr(hdr) == 0) { printf("Using DTB provided by U-Boot at " - "address 0x%p.\n", hdr); + "address %p.\n", hdr); return (0); } }