aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libquadmath/ChangeLog5
-rw-r--r--libquadmath/printf/printf_fp.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/libquadmath/ChangeLog b/libquadmath/ChangeLog
index 080b387b89a..942f955d34b 100644
--- a/libquadmath/ChangeLog
+++ b/libquadmath/ChangeLog
@@ -1,3 +1,8 @@
+2011-03-25 Jakub Jelinek <jakub@redhat.com>
+
+ * printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of
+ mempcpy.
+
2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
PR bootstrap/48135
diff --git a/libquadmath/printf/printf_fp.c b/libquadmath/printf/printf_fp.c
index 4a63be9f8a3..eb663726da1 100644
--- a/libquadmath/printf/printf_fp.c
+++ b/libquadmath/printf/printf_fp.c
@@ -1197,7 +1197,7 @@ __quadmath_printf_fp (struct __quadmath_printf_file *fp,
if (*copywc == decimalwc)
memcpy (cp, decimal, decimal_len), cp += decimal_len;
else if (*copywc == thousands_sepwc)
- mempcpy (cp, thousands_sep, thousands_sep_len), cp += thousands_sep_len;
+ memcpy (cp, thousands_sep, thousands_sep_len), cp += thousands_sep_len;
else
*cp++ = (char) *copywc;
}