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>
Differential D56099
ifconfig: fix Perrorc to use error parameter instead of errno Authored by chris.longros_gmail.com on Thu, Mar 26, 8:53 PM.
Details
The switch statement checks errno instead of the error argument Signed-off-by: Christos Longros <chris.longros@gmail.com>
Diff Detail
|