summaryrefslogtreecommitdiff
path: root/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'signal.c')
-rw-r--r--signal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/signal.c b/signal.c
index 68b27d79d52..16c47a7f7dd 100644
--- a/signal.c
+++ b/signal.c
@@ -240,7 +240,7 @@ rb_f_kill(argc, argv)
goto str_signal;
}
rb_raise(rb_eArgError, "bad signal type %s",
- rb_class2name(CLASS_OF(argv[0])));
+ rb_obj_classname(argv[0]));
}
break;
}