HomeFreeBSD

loader: Increase buffer size to accommodate longer commands

Description

loader: Increase buffer size to accommodate longer commands

The longest command we have is "efi-autoresizecons". That combined with
the two spaces before and after the command gives us a total of 23
characters including the null-terminator.

Also move the two trailing spaces to their own pager_output call so they
don't get truncated if the command is too long and increase the minimum
string length to 20 in order to fix alignment issues caused by the
increased buffer size.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1277

(cherry picked from commit ab08da5328b4175e399d8e59adc4dfad0eea24f1)

Details

Provenance
ahmadkhalifa570_gmail.comAuthored on Jun 5 2024, 12:32 AM
impCommitted on Wed, Mar 26, 1:28 AM
Parents
rG1a8a24e34031: acpi_iicbus: Shift slave address
Branches
Unknown
Tags
Unknown