commit | 5ff2a33bf370604a6260af338dde06cd67deaba2 | [log] [tgz] |
---|---|---|
author | dcashman <dcashman@google.com> | Tue Feb 23 08:48:03 2016 -0800 |
committer | dcashman <dcashman@google.com> | Tue Feb 23 09:16:16 2016 -0800 |
tree | 056a2092c3610b4370290b7737a2beab9176b834 | |
parent | ae9473b3eb92d952fc04d3846b376c412f992553 [diff] |
Correct errno value. Returning -{ERRVAL} is a kernel return convention, but userspace errno assignment and associated functions deal with the positive numbers. Correct the errno assignment introduced in commit: 78899de14b476a759f4839eae4879d47e36a624a. (cherry-pick of commit: 034c53e93a736f8b6f9aac90938ef65ffcaac9da) AOSP Bug: 200617 Bug: 27111481 Change-Id: I174dac888c06d096d361eab5efcde169f7899726