summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-11-04 22:50:22 +0000
committerNicholas Clark <nick@ccl4.org>2005-11-04 22:50:22 +0000
commite5105eda9ec104fa4cd12906af09da2e3a0c3386 (patch)
tree7e7de6c02f981a6aa72b59af97cc28f2d8e90495 /regcomp.c
parentf6a64177e53a495ba5859e86640c4725a876128e (diff)
downloadperl-e5105eda9ec104fa4cd12906af09da2e3a0c3386.tar.gz
s/printf/my_printf/ because we're using the return value.
My mistake spotted by Gisle. p4raw-id: //depot/perl@26006
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regcomp.c b/regcomp.c
index d288eb0450..dd2188f717 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -6218,7 +6218,7 @@ Perl_save_re_context(pTHX)
for (i = 1; i <= rx->nparens; i++) {
GV *mgv;
char digits[TYPE_CHARS(long)];
- const STRLEN len = sprintf(digits, "%lu", (long)i);
+ const STRLEN len = my_sprintf(digits, "%lu", (long)i);
if ((mgv = gv_fetchpvn_flags(digits, len, FALSE, SVt_PV)))
save_scalar(mgv);
}