summaryrefslogtreecommitdiffhomepage
path: root/pkg/abi/linux/fcntl.go
diff options
context:
space:
mode:
authorIan Gudger <igudger@google.com>2019-01-03 13:52:30 -0800
committerShentubot <shentubot@google.com>2019-01-03 13:53:43 -0800
commitb709997d78a9504d1d9a14eb2dffae327cd69238 (patch)
tree9bef1f6861e76a5fe4f8116df43611a173cb1a9b /pkg/abi/linux/fcntl.go
parentd89836fe51eeef4920439d6d2433f2ee6f37aec9 (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