mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
ab8ac08e14
The old logic padded the device name out but assumed the unit number was one digit long; this fails for things like SATA devices which (for me) begin at ad10. Assemble the full device name in a temporary buffer and then calcluate padding based on that string.