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

Provenance
tsoomeAuthored on
Parents
rS347388: loader: implement proper 8 char tab stops
Branches
Unknown
Tags
Unknown