HomeFreeBSD

ed(1): Simplify some checks.

Description

ed(1): Simplify some checks.

The return type for both fread(3) and fwrite(3) cannot be negative, this
renders some checks invalid and variable 'ct' unnecessary.
Also bump 'len' to size_t to avoid signed/unsigned comparison warnings.

Details

Provenance
pfgAuthored on
Parents
rS309935: Use the spibus accessor when applicable.
Branches
Unknown
Tags
Unknown