aboutsummaryrefslogtreecommitdiffstats
path: root/vm_backtrace.c
diff options
context:
space:
mode:
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r--vm_backtrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 7ea0b3ba5e..b259ceb52a 100644
--- a/vm_backtrace.c
+++ b/vm_backtrace.c
@@ -208,7 +208,7 @@ location_base_label(rb_backtrace_location_t *loc)
case LOCATION_TYPE_ISEQ_CALCED:
return loc->body.iseq.iseq->location.base_label;
case LOCATION_TYPE_CFUNC:
- return rb_sym_to_s(ID2SYM(loc->body.cfunc.mid));
+ return rb_id2str(loc->body.cfunc.mid);
case LOCATION_TYPE_IFUNC:
default:
rb_bug("location_base_label: unreachable");