diff options
Diffstat (limited to 'linux-user/signal.c')
-rw-r--r-- | linux-user/signal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/signal.c b/linux-user/signal.c index 5f98c71..5069c3f 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -5847,8 +5847,9 @@ static void handle_pending_signal(CPUArchState *cpu_env, int sig) else setup_frame(sig, sa, &target_old_set, cpu_env); #endif - if (sa->sa_flags & TARGET_SA_RESETHAND) + if (sa->sa_flags & TARGET_SA_RESETHAND) { sa->_sa_handler = TARGET_SIG_DFL; + } } if (q != &k->info) free_sigqueue(cpu_env, q); |