aboutsummaryrefslogtreecommitdiff
path: root/linux-user/s390x
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/s390x')
-rw-r--r--linux-user/s390x/signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/s390x/signal.c b/linux-user/s390x/signal.c
index bc41b01c5d..81ba59b46a 100644
--- a/linux-user/s390x/signal.c
+++ b/linux-user/s390x/signal.c
@@ -168,7 +168,7 @@ void setup_frame(int sig, struct target_sigaction *ka,
env->psw.addr = ka->_sa_handler;
env->regs[2] = sig;
- env->regs[3] = frame_addr += offsetof(typeof(*frame), sc);
+ env->regs[3] = frame_addr + offsetof(typeof(*frame), sc);
/*
* We forgot to include these in the sigcontext.