about summary refs log tree commit diff
path: root/math/fegetexcept.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/fegetexcept.c')
-rw-r--r--math/fegetexcept.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/fegetexcept.c b/math/fegetexcept.c
index 42aaf935e5..9075160ee0 100644
--- a/math/fegetexcept.c
+++ b/math/fegetexcept.c
@@ -22,7 +22,7 @@
 int
 fegetexcept (void)
 {
-  /* Signal failure.  */
-  return -1;
+  /* All exception traps are disabled.  */
+  return 0;
 }
 stub_warning (fegetexcept)