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 44ada10..0526fbf 100644
--- a/signal.c
+++ b/signal.c
@@ -234,7 +234,7 @@ rb_f_kill(argc, argv)
{
VALUE str;
- str = rb_check_convert_type(argv[0], T_STRING, "String", "to_str");
+ str = rb_check_string_type(argv[0]);
if (!NIL_P(str)) {
s = RSTRING(str)->ptr;
goto str_signal;