Increase the boot menu description size so that menu items up to 80
characters display without truncation.
Reported-by: Rene Shuster <rene.shuster@bcsemail.org>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
---
src/boot.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/boot.c b/src/boot.c
index 706b7df..59623fb 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -482,7 +482,7 @@ interactive_bootmenu(void)
int maxmenu = 0;
struct bootentry_s *pos;
hlist_for_each_entry(pos, &BootList, node) {
- char desc[60];
+ char desc[77];
maxmenu++;
printf("%d. %s\n", maxmenu
, strtcpy(desc, pos->description, ARRAY_SIZE(desc)));
--
2.5.5
_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
https://mail.coreboot.org/mailman/listinfo/seabios
On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote: > Increase the boot menu description size so that menu items up to 80 > characters display without truncation. > > Reported-by: Rene Shuster <rene.shuster@bcsemail.org> > Signed-off-by: Kevin O'Connor <kevin@koconnor.net> FYI, I committed this patch. -Kevin _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios
Thanks. On Tue, May 2, 2017 at 8:04 PM, Kevin O'Connor <kevin@koconnor.net> wrote: > On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote: > > Increase the boot menu description size so that menu items up to 80 > > characters display without truncation. > > > > Reported-by: Rene Shuster <rene.shuster@bcsemail.org> > > Signed-off-by: Kevin O'Connor <kevin@koconnor.net> > > FYI, I committed this patch. > > -Kevin > -- Tech III * AppControl * Endpoint Protection * Server Maintenance Buncombe County Schools Technology Department Network Group ComicSans Awareness Campaign <http://comicsanscriminal.com> _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios
Dear Kevin, Am Dienstag, den 02.05.2017, 20:04 -0400 schrieb Kevin O'Connor: > On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote: > > Increase the boot menu description size so that menu items up to 80 > > characters display without truncation. > > > > Reported-by: Rene Shuster <rene.shuster@bcsemail.org> > > Signed-off-by: Kevin O'Connor <kevin@koconnor.net> > > FYI, I committed this patch. Could this patch please also be added to to the stable branches, so that it’s present in the next stable releases? Thanks, Paul_______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios
On Tue, 2017-08-22 at 07:39 +0200, Paul Menzel wrote: > Dear Kevin, > > > Am Dienstag, den 02.05.2017, 20:04 -0400 schrieb Kevin O'Connor: > > On Tue, Apr 25, 2017 at 01:06:53PM -0400, Kevin O'Connor wrote: > > > Increase the boot menu description size so that menu items up to > > > 80 > > > characters display without truncation. > > > > > > Reported-by: Rene Shuster <rene.shuster@bcsemail.org> > > > Signed-off-by: Kevin O'Connor <kevin@koconnor.net> > > > > FYI, I committed this patch. > > Could this patch please also be added to to the stable branches, so > that it’s present in the next stable releases? Added to 1.10-stable cheers, Gerd _______________________________________________ SeaBIOS mailing list SeaBIOS@seabios.org https://mail.coreboot.org/mailman/listinfo/seabios
© 2016 - 2025 Red Hat, Inc.