diff options
author | hselasky <hselasky@FreeBSD.org> | 2014-05-21 18:02:19 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2014-05-21 18:02:19 +0000 |
commit | 8a63789b4f225192a402fab93d49dbb4760c1273 (patch) | |
tree | b91ddf8fed511024d512e639655fafa01de15d9f /sys/boot/fdt/fdt_loader_cmd.c | |
parent | 12d9d80011126926f1ca0cc86990a22ac1d3da84 (diff) | |
download | FreeBSD-src-8a63789b4f225192a402fab93d49dbb4760c1273.zip FreeBSD-src-8a63789b4f225192a402fab93d49dbb4760c1273.tar.gz |
"%p" formatting already includes "0x" prefix in printout.
Diffstat (limited to 'sys/boot/fdt/fdt_loader_cmd.c')
-rw-r--r-- | sys/boot/fdt/fdt_loader_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/fdt/fdt_loader_cmd.c b/sys/boot/fdt/fdt_loader_cmd.c index b54a6b4..24c6382 100644 --- a/sys/boot/fdt/fdt_loader_cmd.c +++ b/sys/boot/fdt/fdt_loader_cmd.c @@ -233,7 +233,7 @@ fdt_load_dtb_addr(struct fdt_header *header) { 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); } } |