summaryrefslogtreecommitdiffstats
path: root/common/ft_build.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-01-07 11:36:50 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-01-07 11:36:50 +0100
commit63100f4e158a720e36543bcfd673c11bb5761b72 (patch)
tree41c0c1c57692e554b878666934f394c963004e1e /common/ft_build.c
parent8cfbcc7d8242a1d7260da48cbda4428ba88c351d (diff)
downloadbarebox-63100f4e158a720e36543bcfd673c11bb5761b72.tar.gz
barebox-63100f4e158a720e36543bcfd673c11bb5761b72.tar.xz
device tree: fix printf compiler warnings
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/ft_build.c')
-rw-r--r--common/ft_build.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/ft_build.c b/common/ft_build.c
index 4a7ff31370..4c27cfa8de 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;
}