about summary refs log tree commit diff
path: root/math/fgetexcptflg.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/fgetexcptflg.c')
-rw-r--r--math/fgetexcptflg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/fgetexcptflg.c b/math/fgetexcptflg.c
index 151286454d..764be42e6b 100644
--- a/math/fgetexcptflg.c
+++ b/math/fgetexcptflg.c
@@ -23,8 +23,8 @@
 int
 __fegetexceptflag (fexcept_t *flagp, int excepts)
 {
-  /* This always fails.  */
-  return 1;
+  /* Nothing to do.  */
+  return 0;
 }
 #if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
 strong_alias (__fegetexceptflag, __old_fegetexceptflag)