summaryrefslogtreecommitdiff
path: root/src/add_ui.c
diff options
context:
space:
mode:
authorvlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-02-24 11:59:09 +0000
committervlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4>2012-02-24 11:59:09 +0000
commitef178feb73392dd89678552d6b6ef126a014bf85 (patch)
tree7a609db7b3b2aeeb74ebb7e6002aabaaf6107a3a /src/add_ui.c
parent91f9b3f02dc4b1e68070370eaaf8a59454defd3a (diff)
downloadmpfr-ef178feb73392dd89678552d6b6ef126a014bf85.tar.gz
Corrected a typo in MPFR_LOG_FUNC of add_d.c, add_ui.c and mul_d.c
(mpfr_get_prec → mpfr_log_prec), fixing bug 13933. The consequence was random freezes (on the same binary) with dynamic linking (and just more memory with static linking to the MPFR library) when logging was used. git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@8043 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'src/add_ui.c')
-rw-r--r--src/add_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/add_ui.c b/src/add_ui.c
index 2215e390e..4d20592f7 100644
--- a/src/add_ui.c
+++ b/src/add_ui.c
@@ -29,7 +29,7 @@ mpfr_add_ui (mpfr_ptr y, mpfr_srcptr x, unsigned long int u, mpfr_rnd_t rnd_mode
MPFR_LOG_FUNC
(("x[%Pu]=%.*Rg u=%d rnd=%d",
mpfr_get_prec(x), mpfr_log_prec, x, u, rnd_mode),
- ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_get_prec, y));
+ ("y[%Pu]=%.*Rg", mpfr_get_prec (y), mpfr_log_prec, y));
if (MPFR_LIKELY(u != 0) ) /* if u=0, do nothing */
{