or1k: fix build
This fixes a typo in the arch_set_success for the or1k architecture.
* linux/or1k/set_error.c (arch_setsuccess): Rename to arch_set_success.
Fixes: 41d647c
("Implement success injection")
Closes: https://github.com/strace/strace/pull/6
This commit is contained in:
parent
cdee133cfb
commit
5a2a54591d
@ -6,7 +6,7 @@ arch_set_error(struct tcb *tcp)
|
||||
}
|
||||
|
||||
static int
|
||||
arch_setsuccess(struct tcb *tcp)
|
||||
arch_set_success(struct tcb *tcp)
|
||||
{
|
||||
or1k_regs.gpr[11] = tcp->u_rval;
|
||||
return set_regs(tcp->pid);
|
||||
|
Loading…
Reference in New Issue
Block a user