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