diff --git a/ChangeLog b/ChangeLog index b19e3a1d8956e5..b2c3658670d83d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Jan 29 00:30:44 2011 Yusuke Endoh + + * variable.c (set_const_visibility): fix typo. a patch from Tomoyuki + Chikanaga in [ruby-core:32919]. + Fri Jan 28 23:20:28 2011 KOSAKI Motohiro * test/gdbm/test_gdbm.rb (TestGDBM#test_s_open_no_create, diff --git a/variable.c b/variable.c index ab0cd7b5925eb0..f7379738786e1b 100644 --- a/variable.c +++ b/variable.c @@ -1895,7 +1895,7 @@ set_const_visibility(VALUE mod, int argc, VALUE *argv, rb_const_flag_t flag) if (rb_safe_level() >= 4 && !OBJ_UNTRUSTED(mod)) { rb_raise(rb_eSecurityError, - "Insecure: can't change method visibility"); + "Insecure: can't change constant visibility"); } for (i = 0; i < argc; i++) {