aboutsummaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index b81001b0ef..495b7224fd 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -527,7 +527,7 @@ vm_getivar(VALUE obj, ID id, IC ic, rb_call_info_t *ci, int is_attr)
if (UNLIKELY(val == Qundef)) {
if (!is_attr && RTEST(ruby_verbose))
- rb_warning("instance variable %s not initialized", rb_id2name(id));
+ rb_warning("instance variable %"PRIsVALUE" not initialized", QUOTE_ID(id));
val = Qnil;
}
return val;