5a2a54591d
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
14 lines
223 B
C
14 lines
223 B
C
static int
|
|
arch_set_error(struct tcb *tcp)
|
|
{
|
|
or1k_regs.gpr[11] = -tcp->u_error;
|
|
return set_regs(tcp->pid);
|
|
}
|
|
|
|
static int
|
|
arch_set_success(struct tcb *tcp)
|
|
{
|
|
or1k_regs.gpr[11] = tcp->u_rval;
|
|
return set_regs(tcp->pid);
|
|
}
|