HomeFreeBSD

MFC r312228: Make `camcontrol cmd ... -i ...` return only valid bytes.

Description

MFC r312228: 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.

Details

Provenance
mavAuthored on
Parents
rS312950: MFC r312228: Make `camcontrol cmd ... -i ...` return only valid bytes.
Branches
Unknown
Tags
Unknown