diff --git a/pkg/test/step/syscall/base/base.go b/pkg/test/step/syscall/base/base.go index 3df7fe6a..1c3e3084 100644 --- a/pkg/test/step/syscall/base/base.go +++ b/pkg/test/step/syscall/base/base.go @@ -173,7 +173,7 @@ func setArgFieldValue(argField *field.Field, value string) error { if err != nil { return fmt.Errorf("cannot parse value as open mode: %w", err) } - argFieldValue.SetInt(int64(openMode)) + argFieldValue.SetUint(uint64(openMode)) case field.TypeOpenHow: openHow, err := parseOpenHow(value) if err != nil {