Commit fb94d85
committed
macsmc: rtkit: Return -EIO instead of negated SMC results
SMC most certainly does not return linux errno values as result. The
return value of 132 for missing SMC keys does not make sense as ERFKILL.
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 2d6d199 commit fb94d85
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
0 commit comments