summaryrefslogtreecommitdiff
path: root/libc/math/fegetenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/math/fegetenv.c')
-rw-r--r--libc/math/fegetenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/math/fegetenv.c b/libc/math/fegetenv.c
index 14bb80123..29229dc22 100644
--- a/libc/math/fegetenv.c
+++ b/libc/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)