about summary refs log tree commit diff
path: root/math/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/fegetenv.c')
-rw-r--r--math/fegetenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/fegetenv.c b/math/fegetenv.c
index 14bb801237..29229dc22a 100644
--- a/math/fegetenv.c
+++ b/math/fegetenv.c
@@ -23,8 +23,8 @@
 int
 __fegetenv (fenv_t *envp)
 {
-  /* This always fails.  */
-  return 1;
+  /* Nothing to do.  */
+  return 0;
 }
 #if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fegetenv, __old_fegetenv)