diff options
author | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-30 13:17:45 +0000 |
---|---|---|
committer | ktsj <ktsj@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-07-30 13:17:45 +0000 |
commit | 3b895e8355b06facb4e80b27e527d560af4fd65a (patch) | |
tree | da4823652a6806ff4bd6b3df671a9ad0da1de252 /vm_trace.c | |
parent | 00b040b8d584e6c234437d36ab17c0b714b9a893 (diff) | |
download | ruby-3b895e8355b06facb4e80b27e527d560af4fd65a.tar.gz |
* process.c (rlimit_resource_type, rlimit_resource_value):
get rid of inadvertent dynamic symbol pin-down.
* re.c (match_backref_number): ditto.
* signal.c (esignal_init, rb_f_kill, trap_signm): ditto.
* transcode.c (econv_opts): ditto.
* vm_trace.c (symbol2event_flag): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_trace.c')
-rw-r--r-- | vm_trace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_trace.c b/vm_trace.c index 80084019e4..65a53d4d04 100644 --- a/vm_trace.c +++ b/vm_trace.c @@ -700,7 +700,7 @@ symbol2event_flag(VALUE v) #undef C CONST_ID(id, "a_call"); if (sym == ID2SYM(id)) return RUBY_EVENT_CALL | RUBY_EVENT_B_CALL | RUBY_EVENT_C_CALL; CONST_ID(id, "a_return"); if (sym == ID2SYM(id)) return RUBY_EVENT_RETURN | RUBY_EVENT_B_RETURN | RUBY_EVENT_C_RETURN; - rb_raise(rb_eArgError, "unknown event: %s", rb_id2name(SYM2ID(sym))); + rb_raise(rb_eArgError, "unknown event: %"PRIsVALUE, rb_sym2str(sym)); } static rb_tp_t * |