Skip to content

Commit

Permalink
sys: make ENOTSUPP a constant
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenz Bauer <lmb@isovalent.com>
  • Loading branch information
lmb committed Oct 5, 2023
1 parent 0a37803 commit 9feeb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/sys/syscall.go
Expand Up @@ -11,7 +11,7 @@ import (
// ENOTSUPP is a Linux internal error code that has leaked into UAPI.
//
// It is not the same as ENOTSUP or EOPNOTSUPP.
var ENOTSUPP = syscall.Errno(524)
const ENOTSUPP = syscall.Errno(524)

// BPF wraps SYS_BPF.
//
Expand Down

0 comments on commit 9feeb26

Please sign in to comment.