HomeFreeBSD

libpfctl: ensure we return useful error codes

Description

libpfctl: ensure we return useful error codes

Return errno rather than -1 on error. This allows pfctl to report much
more useful errors.

Reported by: Alexander Leidinger <Alexander@Leidinger.net>
MFC after: 1 week

Details

Provenance
kpAuthored on Fri, Sep 20, 9:36 AM
Parents
rG66fcbd9556b0: VOP_ATTRIB.9: switch to Fa/Fc
Branches
Unknown
Tags
Unknown