diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-05-12 00:27:13 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-05-12 00:27:13 +0000 |
commit | ccc377e3a485ddda506be9ff0149bb936f954816 (patch) | |
tree | eaaa3cefdce0b7680fa9bf575ba34f17a51948e4 /pkg/sentry/socket/socket.go | |
parent | 4c1436afe028fe0c45f51e1dfe9e7cd493eb8fb9 (diff) | |
parent | 49eb3da98aeb436011ec9d895727b237ec2ea93f (diff) |
Merge release-20210503.0-36-g49eb3da98 (automated)
Diffstat (limited to 'pkg/sentry/socket/socket.go')
-rw-r--r-- | pkg/sentry/socket/socket.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/socket/socket.go b/pkg/sentry/socket/socket.go index 9e56487a6..353f4ade0 100644 --- a/pkg/sentry/socket/socket.go +++ b/pkg/sentry/socket/socket.go @@ -80,7 +80,7 @@ func sockErrCmsgToLinux(sockErr *tcpip.SockError) linux.SockErrCMsg { } ee := linux.SockExtendedErr{ - Errno: uint32(syserr.TranslateNetstackError(sockErr.Err).ToLinux().Number()), + Errno: uint32(syserr.TranslateNetstackError(sockErr.Err).ToLinux()), Origin: errOriginToLinux(sockErr.Cause.Origin()), Type: sockErr.Cause.Type(), Code: sockErr.Cause.Code(), |