HomeFreeBSD

pmc_annotate: adhere to the API

Description

pmc_annotate: adhere to the API

If the 'mode' parameter was invalid, pmc_annotate() would
return EINVAL instead of setting errno and returning -1.

Sponsored by: Dell EMC

Details

Provenance
vangyzenAuthored on
Parents
rS334350: pmc: Add new sub-command structured "pmc" utility
Branches
Unknown
Tags
Unknown