summaryrefslogtreecommitdiff
path: root/sysdeps/powerpc/fpu/fegetexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/powerpc/fpu/fegetexcept.c')
-rw-r--r--sysdeps/powerpc/fpu/fegetexcept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/powerpc/fpu/fegetexcept.c b/sysdeps/powerpc/fpu/fegetexcept.c
index bd27a807ed..179e3c4e81 100644
--- a/sysdeps/powerpc/fpu/fegetexcept.c
+++ b/sysdeps/powerpc/fpu/fegetexcept.c
@@ -24,7 +24,7 @@ __fegetexcept (void)
{
fenv_union_t fe;
- fe.fenv = fegetenv_status ();
+ fe.fenv = fegetenv_control ();
return fenv_reg_to_exceptions (fe.l);
}