diff options
author | Ian Gudger <igudger@google.com> | 2019-01-03 13:52:30 -0800 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2019-01-03 13:53:43 -0800 |
commit | b709997d78a9504d1d9a14eb2dffae327cd69238 (patch) | |
tree | 9bef1f6861e76a5fe4f8116df43611a173cb1a9b /pkg/abi/linux/fcntl.go | |
parent | d89836fe51eeef4920439d6d2433f2ee6f37aec9 (diff) |
Rename linux.Errno.Error to linux.Errno.String.
Using linux.Errno as an error doesn't work very well as none of the sentry code
expects error to contain a linux.Errno.
This moves using syserr.Error.ToLinux as an error in a syscall handler from a
runtime error to a compile error.
PiperOrigin-RevId: 227744312
Change-Id: Iea63108a5b198296c908614e09c01733dd684da0
Diffstat (limited to 'pkg/abi/linux/fcntl.go')
0 files changed, 0 insertions, 0 deletions