From 251f98014f2595957bd52c0cc47559d522215868 Mon Sep 17 00:00:00 2001 From: Thomas Heijligen Date: Tue, 1 Jun 2021 13:57:42 +0200 Subject: print.c: use static string for internal programmer name Change-Id: If2cf95c71425efdd864457e213dd34b929fe8805 Signed-off-by: Thomas Heijligen Reviewed-on: https://review.coreboot.org/c/flashrom/+/55118 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber --- print.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/print.c b/print.c index fd561287d..cbf12d61b 100644 --- a/print.c +++ b/print.c @@ -474,8 +474,7 @@ int print_supported(void) list_programmers_linebreak(0, 80, 0); msg_ginfo("\n"); #if CONFIG_INTERNAL == 1 - msg_ginfo("\nSupported devices for the %s programmer:\n\n", - programmer_table[PROGRAMMER_INTERNAL]->name); + msg_ginfo("\nSupported devices for the internal programmer:\n\n"); print_supported_chipsets(); msg_ginfo("\n"); print_supported_boards_helper(boards_known, "mainboards"); -- cgit v1.2.3