summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time.c')
-rw-r--r--time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time.c b/time.c
index ffad7416588..217482a8132 100644
--- a/time.c
+++ b/time.c
@@ -158,7 +158,7 @@ time_timeval(time, interval)
default:
rb_raise(rb_eTypeError, "can't convert %s into %s",
- rb_class2name(CLASS_OF(time)), tstr);
+ rb_obj_classname(time), tstr);
break;
}
return t;