[PATCH 14/24] device tree: fix printf compiler warnings

Sascha Hauer s.hauer at pengutronix.de
Fri Jan 7 05:43:54 EST 2011


Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 common/ft_build.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/common/ft_build.c b/common/ft_build.c
index 4a7ff31..4c27cfa 100644
--- a/common/ft_build.c
+++ b/common/ft_build.c
@@ -311,7 +311,7 @@ void ft_dump_blob(const void *bphp)
 		}
 
 		if (tag != OF_DT_PROP) {
-			fprintf(stderr, "%*s ** Unknown tag 0x%08x at 0x%x\n",
+			fprintf(stderr, "%*s ** Unknown tag 0x%08x at 0x%p\n",
 				depth * shift, "", tag, --p);
 			break;
 		}
-- 
1.7.2.3




More information about the barebox mailing list