[Skiboot] [PATCH] pflash: remove stray d in from info message

Joel Stanley joel at jms.id.au
Mon Nov 7 22:16:52 AEDT 2016


Fixes: 86640b032d79ff0 (pflash: Fix printf format warning)
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
 external/pflash/pflash.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/external/pflash/pflash.c b/external/pflash/pflash.c
index c93bbd4533bb..9d4c6b2282d9 100644
--- a/external/pflash/pflash.c
+++ b/external/pflash/pflash.c
@@ -136,7 +136,7 @@ static void print_flash_info(uint32_t toc)
 	printf("Flash info:\n");
 	printf("-----------\n");
 	printf("Name          = %s\n", fl_name);
-	printf("Total size    = %"PRIu64"dMB \n", fl_total_size >> 20);
+	printf("Total size    = %"PRIu64"MB \n", fl_total_size >> 20);
 	printf("Erase granule = %dKB \n", fl_erase_granule >> 10);
 
 	if (bmc_flash)
-- 
2.9.3



More information about the Skiboot mailing list