summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kcalc/kcalc_core.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kcalc/kcalc_core.cpp b/kcalc/kcalc_core.cpp
index 89a2438..d34badb 100644
--- a/kcalc/kcalc_core.cpp
+++ b/kcalc/kcalc_core.cpp
@@ -209,7 +209,7 @@ CalcEngine::CalcEngine()
struct sigaction fpe_trap;
- sigemptyset(&fpe_trap.sa_tqmask);
+ sigemptyset(&fpe_trap.sa_mask);
fpe_trap.sa_handler = &fpe_handler;
#ifdef SA_RESTART
fpe_trap.sa_flags = SA_RESTART;