summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/link/rawfile/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/tcpip/link/rawfile/errors.go')
-rw-r--r--pkg/tcpip/link/rawfile/errors.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/tcpip/link/rawfile/errors.go b/pkg/tcpip/link/rawfile/errors.go
index 80e91bb34..a0a873c84 100644
--- a/pkg/tcpip/link/rawfile/errors.go
+++ b/pkg/tcpip/link/rawfile/errors.go
@@ -30,7 +30,7 @@ var translations [maxErrno]*tcpip.Error
// TranslateErrno translate an errno from the syscall package into a
// *tcpip.Error.
//
-// Valid, but unreconigized errnos will be translated to
+// Valid, but unrecognized errnos will be translated to
// tcpip.ErrInvalidEndpointState (EINVAL). Panics on invalid errnos.
func TranslateErrno(e syscall.Errno) *tcpip.Error {
if err := translations[e]; err != nil {