about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorGeoff Keating <geoffk@cygnus.com>2000-08-28 06:20:43 +0000
committerGeoff Keating <geoffk@cygnus.com>2000-08-28 06:20:43 +0000
commit5a3641520ee697440e382d92cde68b88fad8c6f4 (patch)
treeb108a58e0da9ae3444294743720920cb82e80f21 /sysdeps/powerpc
parente4df97b85c03a5058cf93df74d336d38d506484b (diff)
downloadglibc-5a3641520ee697440e382d92cde68b88fad8c6f4.tar.gz
glibc-5a3641520ee697440e382d92cde68b88fad8c6f4.tar.xz
glibc-5a3641520ee697440e382d92cde68b88fad8c6f4.zip
* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
	* sysdeps/powerpc/fpu/feenablxcpt.c: Correct bogus checkin.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r--sysdeps/powerpc/fpu/feenablxcpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/powerpc/fpu/feenablxcpt.c b/sysdeps/powerpc/fpu/feenablxcpt.c
index 1d426e8a78..c3ea0df38d 100644
--- a/sysdeps/powerpc/fpu/feenablxcpt.c
+++ b/sysdeps/powerpc/fpu/feenablxcpt.c
@@ -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;