about summary refs log tree commit diff
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 2173d77d1d..10a37f0d44 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_register ();
+  fe.fenv = fegetenv_status ();
 
   return fenv_reg_to_exceptions (fe.l);
 }