summaryrefslogtreecommitdiff
path: root/sysdeps/s390/fpu/feholdexcpt.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-05 13:16:07 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-05 13:16:07 +0000
commit99252c8c6256d1afe91651d334cbef402d529fa5 (patch)
tree88ba72e782dc1c8888b3a0ed3858f6b3efe6b5a5 /sysdeps/s390/fpu/feholdexcpt.c
parentd6d98dea2d97e1dee5ab727982dd7430873c836f (diff)
downloadglibc-99252c8c6256d1afe91651d334cbef402d529fa5.tar.gz
Fix S/390 bits/fenv.h namespace use (bug 14801).
Diffstat (limited to 'sysdeps/s390/fpu/feholdexcpt.c')
-rw-r--r--sysdeps/s390/fpu/feholdexcpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/s390/fpu/feholdexcpt.c b/sysdeps/s390/fpu/feholdexcpt.c
index 76ca70fb4f..5b97ade029 100644
--- a/sysdeps/s390/fpu/feholdexcpt.c
+++ b/sysdeps/s390/fpu/feholdexcpt.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment and clear exceptions.
- Copyright (C) 2000, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2000-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Denis Joseph Barrow (djbarrow@de.ibm.com).
@@ -27,7 +27,7 @@ int feholdexcept (fenv_t *envp)
fegetenv (envp);
/* Clear the current sticky bits as more than one exception
may be generated. */
- fpc = envp->fpc & ~(FPC_FLAGS_MASK | FPC_DXC_MASK);
+ fpc = envp->__fpc & ~(FPC_FLAGS_MASK | FPC_DXC_MASK);
/* Hold from generating fpu exceptions temporarily. */
_FPU_SETCW ((fpc & ~(FE_ALL_EXCEPT << FPC_EXCEPTION_MASK_SHIFT)));
return 0;