svn commit: r307527 - in stable/11/sys/boot: fdt uboot/lib
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Mon Oct 17 18:52:27 UTC 2016
Author: gonzo
Date: Mon Oct 17 18:52:25 2016
New Revision: 307527
URL: https://svnweb.freebsd.org/changeset/base/307527
Log:
MFC r302465:
Remove extra 0x before %p format strings introduced by r296182
Modified:
stable/11/sys/boot/fdt/fdt_loader_cmd.c
stable/11/sys/boot/uboot/lib/elf_freebsd.c
stable/11/sys/boot/uboot/lib/glue.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/boot/fdt/fdt_loader_cmd.c
==============================================================================
--- stable/11/sys/boot/fdt/fdt_loader_cmd.c Mon Oct 17 18:14:31 2016 (r307526)
+++ stable/11/sys/boot/fdt/fdt_loader_cmd.c Mon Oct 17 18:52:25 2016 (r307527)
@@ -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: stable/11/sys/boot/uboot/lib/elf_freebsd.c
==============================================================================
--- stable/11/sys/boot/uboot/lib/elf_freebsd.c Mon Oct 17 18:14:31 2016 (r307526)
+++ stable/11/sys/boot/uboot/lib/elf_freebsd.c Mon Oct 17 18:52:25 2016 (r307527)
@@ -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: stable/11/sys/boot/uboot/lib/glue.c
==============================================================================
--- stable/11/sys/boot/uboot/lib/glue.c Mon Oct 17 18:14:31 2016 (r307526)
+++ stable/11/sys/boot/uboot/lib/glue.c Mon Oct 17 18:52:25 2016 (r307527)
@@ -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) {
More information about the svn-src-stable
mailing list