HomeFreeBSD

devinfo sysctl handler: Do not write zero-length strings in to sbuf twice

Description

devinfo sysctl handler: Do not write zero-length strings in to sbuf twice

This fixes missing PnPinfo and location strings in devinfo(8) output
for devices with no attached drivers.

Details

Provenance
wulfAuthored on Jan 20 2021, 11:06 PM
Parents
R10:e54a1d575180: pms: handle maximum size IO with any alignment
Branches
Unknown
Tags
Unknown