HomeFreeBSD

devinfo_init() returns an errno, but doesn't set errno, so the error

Description

devinfo_init() returns an errno, but doesn't set errno, so the error
message when it fails reflects some random thing rather than what it
returned. Set errno to the return value.

Details

Provenance
impAuthored on
Parents
rS334383: There's no meaningful errno when there's a version mismatch, so use
Branches
Unknown
Tags
Unknown