diff --git a/cr-restore.c b/cr-restore.c index 5161433c0..2a72d4a87 100644 --- a/cr-restore.c +++ b/cr-restore.c @@ -2033,7 +2033,7 @@ static int sigreturn_restore(pid_t pid, CoreEntry *core) goto err; } - if (sigreturn_prep_fpu_frame(&thread_args[i], core)) + if (sigreturn_prep_fpu_frame(&thread_args[i], tcore)) goto err; if (thread_args[i].pid != pid)