summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 27704111e2..4a7bcd4ee5 100644
--- a/variable.c
+++ b/variable.c
@@ -315,7 +315,7 @@ char *
rb_obj_classname(obj)
VALUE obj;
{
- return rb_obj_classname(obj);
+ return rb_class2name(CLASS_OF(obj));
}
struct trace_var {