Date: Wed, 21 May 2014 18:02:19 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266515 - head/sys/boot/fdt Message-ID: <201405211802.s4LI2JDq033462@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405211802.s4LI2JDq033462>