aboutsummaryrefslogtreecommitdiff
path: root/linux/sh64/get_scno.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/sh64/get_scno.c')
-rw-r--r--linux/sh64/get_scno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/sh64/get_scno.c b/linux/sh64/get_scno.c
index 50a52232..bda2cd26 100644
--- a/linux/sh64/get_scno.c
+++ b/linux/sh64/get_scno.c
@@ -2,7 +2,7 @@
static int
arch_get_scno(struct tcb *tcp)
{
- if (upeek(tcp->pid, REG_SYSCALL, &tcp->scno) < 0)
+ if (upeek(tcp, REG_SYSCALL, &tcp->scno) < 0)
return -1;
tcp->scno &= 0xffff;
return 1;