Page MenuHomeFreeBSD

ifconfig: fix Perrorc to use error parameter instead of errno
Needs ReviewPublic

Authored by chris.longros_gmail.com on Thu, Mar 26, 8:53 PM.

Details

Reviewers
melifaro
Summary

The switch statement checks errno instead of the error argument
passed by the caller, causing ENXIO and EPERM to be missed for
Netlink operations.

Signed-off-by: Christos Longros <chris.longros@gmail.com>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 71730
Build 68613: arc lint + arc unit