* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
authorGeoff Keating <geoffk@cygnus.com>
Mon, 28 Aug 2000 06:20:43 +0000 (06:20 +0000)
committerGeoff Keating <geoffk@cygnus.com>
Mon, 28 Aug 2000 06:20:43 +0000 (06:20 +0000)
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.

ChangeLog
sysdeps/powerpc/fpu/feenablxcpt.c

index 37000a9..9103886 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2000-08-27  Geoff Keating  <geoffk@cygnus.com>
 
+       * sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
+
        * sysdeps/powerpc/fpu/fedisblxcpt.c: New file.
        * sysdeps/powerpc/fpu/feenablxcpt.c: New file.
        * sysdeps/powerpc/fpu/fegetexcept.c: New file.
index 1d426e8..c3ea0df 100644 (file)
@@ -46,9 +46,9 @@ feenableexcept (int excepts)
 
   new = fegetexcept ();
   if (new != 0 && result == 0)
-    (void)__fe_nomask_env (void);
+    (void)__fe_nomask_env ();
 
-  if ((old & excepts) != excepts)
+  if ((new & excepts) != excepts)
     result = -1;
 
   return result;