aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/feenablxcpt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/feenablxcpt.c')
-rw-r--r--sysdeps/powerpc/fpu/feenablxcpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/fpu/feenablxcpt.c b/sysdeps/powerpc/fpu/feenablxcpt.c
index 1d426e8..c3ea0df 100644
--- a/sysdeps/powerpc/fpu/feenablxcpt.c
+++ b/sysdeps/powerpc/fpu/feenablxcpt.c
@@ -46,9 +46,9 @@ feenableexcept (int excepts)
new = fegetexcept ();
if (new != 0 && result == 0)
- (void)__fe_nomask_env (void);
+ (void)__fe_nomask_env ();
- if ((old & excepts) != excepts)
+ if ((new & excepts) != excepts)
result = -1;
return result;