[PATCH] bootm: Fix resource_size_t format specifier

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 11 02:25:37 PST 2016


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

diff --git a/common/bootm.c b/common/bootm.c
index 79833e0..2306783 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -247,8 +247,8 @@ done:
 	printf("\n");
 done1:
 	printf("initrd is at %pa-%pa\n",
-		data->initrd_res->start,
-		data->initrd_res->end);
+		&data->initrd_res->start,
+		&data->initrd_res->end);
 
 	return 0;
 }
-- 
2.7.0.rc3




More information about the barebox mailing list