diff options
Diffstat (limited to 'pkg/csource')
| -rw-r--r-- | pkg/csource/csource.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/csource/csource.go b/pkg/csource/csource.go index df35b54b8..8671a57db 100644 --- a/pkg/csource/csource.go +++ b/pkg/csource/csource.go @@ -339,7 +339,7 @@ func (ctx *context) emitCallBody(w *bytes.Buffer, call prog.ExecCall, native boo } else if strings.HasPrefix(callName, "syz_") { fmt.Fprintf(w, "%v(", callName) } else { - args := strings.Repeat(",intptr_t", len(call.Args)) + args := strings.Repeat(",intptr_t", len(call.Args)+call.Meta.MissingArgs) if args != "" { args = args[1:] } |
