diff --git a/cmd/oci-runtime-tool/generate.go b/cmd/oci-runtime-tool/generate.go index ef57d5be9..38c3cc744 100644 --- a/cmd/oci-runtime-tool/generate.go +++ b/cmd/oci-runtime-tool/generate.go @@ -1168,7 +1168,7 @@ func addSeccomp(context *cli.Context, g *generate.Generator) error { } func seccompSet(context *cli.Context, seccompFlag string, g *generate.Generator) error { - flagInput := context.String("seccomp-" + seccompFlag) + flagInput := context.String("linux-seccomp-" + seccompFlag) flagArgs := strings.Split(flagInput, ",") setSyscallArgsSlice := []seccomp.SyscallOpts{} for _, flagArg := range flagArgs {