summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rwhod
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2008-09-11 09:55:54 +0000
committeradrian <adrian@FreeBSD.org>2008-09-11 09:55:54 +0000
commit0d6a982e10174323c8b14954cf327f73604b8453 (patch)
tree2ddc20017c05216e63ff4bf6e1c6efe48f9e6142 /usr.sbin/rwhod
parent1c6ab85afc0de1e8b733b1378cf1336024da62a1 (diff)
downloadFreeBSD-src-0d6a982e10174323c8b14954cf327f73604b8453.zip
FreeBSD-src-0d6a982e10174323c8b14954cf327f73604b8453.tar.gz
Fix the device name spacing.
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.
Diffstat (limited to 'usr.sbin/rwhod')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud