diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-07 05:45:51 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-07 05:45:51 +0900 |
| commit | 38e9128a8cb991355f192241975fed02a49533d4 (patch) | |
| tree | 06050ddbaf3caa9dc8c12fa20200aaf8787adc7b /container/std | |
| parent | 7ee702a44eed3e553b92ebd554ce805669356ba9 (diff) | |
container/std/seccomp: remove ineffectual typecast
This is no longer necessary since the return type changed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/std')
| -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 212b8fdc..17f36706 100644 --- a/container/std/seccomp.go +++ b/container/std/seccomp.go @@ -70,7 +70,7 @@ func (num *ScmpSyscall) UnmarshalJSON(data []byte) error { if n, ok := SyscallResolveName(name); !ok { return SyscallNameError(name) } else { - *num = ScmpSyscall(n) + *num = n return nil } } |
