summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 8b3b099f32..a458159d76 100644
--- a/gv.c
+++ b/gv.c
@@ -2115,7 +2115,7 @@ Perl_gv_name_set(pTHX_ GV *gv, const char *name, U32 len, U32 flags)
Perl_croak(aTHX_ "panic: gv name too long (%"UVuf")", (UV) len);
PERL_HASH(hash, name, len);
- GvXPVGV(gv)->xgv_namehek = name ? share_hek(name, len, hash) : 0;
+ GvNAME_HEK(gv) = name ? share_hek(name, len, hash) : 0;
}
/*