summaryrefslogtreecommitdiff
path: root/universal.c
diff options
context:
space:
mode:
Diffstat (limited to 'universal.c')
-rw-r--r--universal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/universal.c b/universal.c
index 824a4d5c66..784fe5378a 100644
--- a/universal.c
+++ b/universal.c
@@ -851,7 +851,7 @@ XS(XS_PerlIO_get_layers)
if (SvROK(sv) && isGV(SvRV(sv)))
gv = (GV*)SvRV(sv);
else if (SvPOKp(sv))
- gv = gv_fetchsv(sv, FALSE, SVt_PVIO);
+ gv = gv_fetchsv(sv, 0, SVt_PVIO);
}
if (gv && (io = GvIO(gv))) {