summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Heijligen <thomas.heijligen@secunet.de>2021-06-01 13:57:42 +0200
committerNico Huber <nico.h@gmx.de>2021-06-10 12:49:44 +0000
commit251f98014f2595957bd52c0cc47559d522215868 (patch)
tree4b69e3ec687c3faac1d067cc34f59774b9189edd
parente14b2ec65ca6f79e02da8e1cedff5441423e9b6c (diff)
downloadflashrom-251f98014f2595957bd52c0cc47559d522215868.tar.gz
flashrom-251f98014f2595957bd52c0cc47559d522215868.tar.bz2
flashrom-251f98014f2595957bd52c0cc47559d522215868.zip
print.c: use static string for internal programmer name
Change-Id: If2cf95c71425efdd864457e213dd34b929fe8805 Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/55118 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
-rw-r--r--print.c3
1 files changed, 1 insertions, 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");