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:
Jacob Goense 2017-02-06 14:00:34 +01:00 committed by Dmitry V. Levin
parent cdee133cfb
commit 5a2a54591d

View File

@ -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);