mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
[syserror] Refactor abi/linux.Errno
PiperOrigin-RevId: 373265454
This commit is contained in:
committed by
gVisor bot
parent
f8d22292ee
commit
49eb3da98a
@@ -851,7 +851,7 @@ func getSockOptSocket(t *kernel.Task, s socket.SocketOps, ep commonEndpoint, fam
|
||||
return &optP, nil
|
||||
}
|
||||
|
||||
optP := primitive.Int32(syserr.TranslateNetstackError(err).ToLinux().Number())
|
||||
optP := primitive.Int32(syserr.TranslateNetstackError(err).ToLinux())
|
||||
return &optP, nil
|
||||
|
||||
case linux.SO_PEERCRED:
|
||||
|
||||
Reference in New Issue
Block a user