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

Details

Provenance
Ahmad Khalifa <ahmadkhalifa570@gmail.com>Authored on Wed, Jun 5, 12:32 AM
impCommitted on Fri, Jun 28, 12:40 AM
Parents
rGcf9c4b32cca0: RELNOTES: mention moving filesystems to section 4
Branches
Unknown
Tags
Unknown