diff options
Diffstat (limited to 'container/std/seccomp.go')
| -rw-r--r-- | container/std/seccomp.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/container/std/seccomp.go b/container/std/seccomp.go index 05bc4269..212b8fdc 100644 --- a/container/std/seccomp.go +++ b/container/std/seccomp.go @@ -46,7 +46,7 @@ type ( // MarshalJSON resolves the name of [ScmpSyscall] and encodes it as a [json] string. // If such a name does not exist, the syscall number is encoded instead. func (num *ScmpSyscall) MarshalJSON() ([]byte, error) { - n := int(*num) + n := *num for name, cur := range Syscalls() { if cur == n { return json.Marshal(name) |
