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 Aug 27 2020, 4:34 PM
Parents
rGa784185078e5: /etc/zfs/zpool.cache is the preferred (and new) location of zpool.cache.
Branches
Unknown
Tags
Unknown

Event Timeline