summaryrefslogtreecommitdiff
path: root/drivers/dfu/dfu_mmc.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2015-07-29 18:58:39 -0400
committerTom Rini <trini@konsulko.com>2015-07-29 18:58:39 -0400
commitcc35734358540a1bbaf042fdf9f4cb2de17389ed (patch)
tree95163aad5ff5430fdd6fb92c52f26eae46957c2c /drivers/dfu/dfu_mmc.c
parent488d19cbcace0b87a2d08881eab7356088198903 (diff)
parent873e3ef90ba98c764af6e05251354332205b9d3a (diff)
Merge branch 'master' of git://git.denx.de/u-boot-tegra
Diffstat (limited to 'drivers/dfu/dfu_mmc.c')
-rw-r--r--drivers/dfu/dfu_mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dfu/dfu_mmc.c b/drivers/dfu/dfu_mmc.c
index fd865e1121..2a780f7b5d 100644
--- a/drivers/dfu/dfu_mmc.c
+++ b/drivers/dfu/dfu_mmc.c
@@ -156,7 +156,7 @@ static int mmc_file_op(enum dfu_op op, struct dfu_entity *dfu,
dfu->data.mmc.dev, dfu->data.mmc.part);
if (op != DFU_OP_SIZE)
- sprintf(cmd_buf + strlen(cmd_buf), " 0x%x", (unsigned int)buf);
+ sprintf(cmd_buf + strlen(cmd_buf), " %p", buf);
sprintf(cmd_buf + strlen(cmd_buf), " %s", dfu->name);