HomeFreeBSD

loader: ptable_print() needs two tabs sometimes

Description

loader: ptable_print() needs two tabs sometimes

Since the partition/slice names do vary in length, check the length
of the fixed part of the line against 3 * 8, if the lenth is less than
3 tab stops, print out extra tab.

use snprintf() instead of sprintf.

Details

Committed
tsoomeMay 9 2019, 11:04 AM
Parents
rS347388: loader: implement proper 8 char tab stops
Branches
Unknown
Tags
Unknown