HomeFreeBSD

Make `camcontrol cmd ... -i ...` return only valid bytes.

Description

Make camcontrol cmd ... -i ... return only valid bytes.

Previously code ignored resid field and returned extra zeroes in case of
data underflow. Now it returns only real bytes received from target.

MFC after: 2 weeks

Details

Provenance
mavAuthored on
Parents
rS312227: MFhead@r312226
Branches
Unknown
Tags
Unknown