Date: Fri, 8 Jul 2016 22:32:03 +0000 (UTC) From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r302465 - in head/sys/boot: fdt uboot/lib Message-ID: <201607082232.u68MW3LQ000803@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: gonzo Date: Fri Jul 8 22:32:03 2016 New Revision: 302465 URL: https://svnweb.freebsd.org/changeset/base/302465 Log: Remove extra 0x before %p format strings introduced by r296182 Modified: head/sys/boot/fdt/fdt_loader_cmd.c head/sys/boot/uboot/lib/elf_freebsd.c head/sys/boot/uboot/lib/glue.c Modified: head/sys/boot/fdt/fdt_loader_cmd.c ============================================================================== --- head/sys/boot/fdt/fdt_loader_cmd.c Fri Jul 8 22:20:35 2016 (r302464) +++ head/sys/boot/fdt/fdt_loader_cmd.c Fri Jul 8 22:32:03 2016 (r302465) @@ -421,7 +421,7 @@ fdt_setup_fdtp() /* If we were given the address of a valid blob in memory, use it. */ if (fdt_to_load != NULL) { if (fdt_load_dtb_addr(fdt_to_load) == 0) { - printf("Using DTB from memory address 0x%p.\n", + printf("Using DTB from memory address %p.\n", fdt_to_load); return (0); } Modified: head/sys/boot/uboot/lib/elf_freebsd.c ============================================================================== --- head/sys/boot/uboot/lib/elf_freebsd.c Fri Jul 8 22:20:35 2016 (r302464) +++ head/sys/boot/uboot/lib/elf_freebsd.c Fri Jul 8 22:32:03 2016 (r302465) @@ -85,7 +85,7 @@ __elfN(uboot_exec)(struct preloaded_file return (error); entry = (void *)e->e_entry; - printf("Kernel entry at 0x%p...\n", entry); + printf("Kernel entry at %p...\n", entry); dev_cleanup(); printf("Kernel args: %s\n", fp->f_args); Modified: head/sys/boot/uboot/lib/glue.c ============================================================================== --- head/sys/boot/uboot/lib/glue.c Fri Jul 8 22:20:35 2016 (r302464) +++ head/sys/boot/uboot/lib/glue.c Fri Jul 8 22:32:03 2016 (r302465) @@ -469,7 +469,7 @@ ub_dump_di(int handle) int i; printf("device info (%d):\n", handle); - printf(" cookie\t= 0x%p\n", di->cookie); + printf(" cookie\t= %p\n", di->cookie); printf(" type\t\t= 0x%08x\n", di->type); if (di->type == DEV_TYP_NET) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607082232.u68MW3LQ000803>