summaryrefslogtreecommitdiff
path: root/sv.c
diff options
context:
space:
mode:
Diffstat (limited to 'sv.c')
-rw-r--r--sv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sv.c b/sv.c
index 3ab9f057f2..6a6c33bc30 100644
--- a/sv.c
+++ b/sv.c
@@ -9768,8 +9768,8 @@ perl_clone_using(PerlInterpreter *proto_perl, UV flags,
param->stashes = newAV(); /* Setup array of objects to call clone on */
#ifdef PERLIO_LAYERS
- /* Clone PerlIO table as soon as we can handle general xx_dup() */
- PerlIO_clone(aTHX_ proto_perl->Iperlio, param);
+ /* Clone PerlIO tables as soon as we can handle general xx_dup() */
+ PerlIO_clone(aTHX_ proto_perl, param);
#endif
PL_envgv = gv_dup(proto_perl->Ienvgv, param);