HomeFreeBSD

mpsutil: Fix data truncation by too short buffers.

Description

mpsutil: Fix data truncation by too short buffers.

Length of some string buffers was insufficient for cases of more that
99 targets per HBA or slots per enclosure. Some others are tuned just
for better alignment. While there also fix output formatting issues.

MFC after: 1 week
Sponsored by: iXsystems, Inc.

(cherry picked from commit f5b0083302edcf421265530cc01dd87c06b23af1)

Details

Provenance
mavAuthored on Nov 30 2021, 1:14 AM
Parents
rG916a91bd5ec9: GEOM: Switch g_io_deliver() locking from cp to pp.
Branches
Unknown
Tags
Unknown