aboutsummaryrefslogtreecommitdiff
path: root/libquadmath/printf
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2011-03-25 21:12:37 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2011-03-25 21:12:37 +0100
commitcf3b3080558eb84d79b0dfe73683c7d2b65bb3ac (patch)
tree7a933efcb896ac336286893ac49db4f2df1ccd40 /libquadmath/printf
parent7657ab90b46149b27703a397f3764ef9517eb988 (diff)
printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy.
* printf/printf_fp.c (__quadmath_printf_fp): Use memcpy instead of mempcpy. From-SVN: r171525
Diffstat (limited to 'libquadmath/printf')
-rw-r--r--libquadmath/printf/printf_fp.c2
1 files changed, 1 insertions, 1 deletions
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;
}