HomeFreeBSD

asmc(4): Handle errors from asmc_key_read() properly.

Description

asmc(4): Handle errors from asmc_key_read() properly.

asmc_key_read() returns only 0 and 1, some callers were checking
incorrectly for failure.

PR: 248939
Submitted by: Tong Zhang <ztong0001@gmail.com>
MFC after: 1 week

Details

Provenance
markjAuthored on
Parents
rS364870: MFC r364410:
Branches
Unknown
Tags
Unknown