diff options
author | Simon Glass <sjg@chromium.org> | 2015-04-20 12:37:16 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-05 20:58:19 -0600 |
commit | c3ec646dde0428b96a67afd8c4c7b7db9dd4ca46 (patch) | |
tree | fa83f125ecbeb53b37bf407daed4dd0544354691 /common | |
parent | 182bf92d19cf007c2d6b9a264107d6996ae9014f (diff) | |
download | u-boot-imx-c3ec646dde0428b96a67afd8c4c7b7db9dd4ca46.zip u-boot-imx-c3ec646dde0428b96a67afd8c4c7b7db9dd4ca46.tar.gz u-boot-imx-c3ec646dde0428b96a67afd8c4c7b7db9dd4ca46.tar.bz2 |
fdt: Correct warning in fdt_setup_simplefb_node()
Adjust the printf() string to avoid a warning on sandbox.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/fdt_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/fdt_support.c b/common/fdt_support.c index c5ed5ad..9e50148 100644 --- a/common/fdt_support.c +++ b/common/fdt_support.c @@ -1533,7 +1533,7 @@ int fdt_setup_simplefb_node(void *fdt, int node, u64 base_address, u32 width, if (ret < 0) return ret; - snprintf(name, sizeof(name), "framebuffer@%llx", base_address); + snprintf(name, sizeof(name), "framebuffer@%" PRIx64, base_address); ret = fdt_set_name(fdt, node, name); if (ret < 0) return ret; |