From b8cc43a5b024c52b673e7c43fd4998fefd87064f Mon Sep 17 00:00:00 2001 From: ocean Date: Wed, 16 Mar 2005 13:23:51 +0000 Subject: * object.c (str_to_id): fixed typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'object.c') diff --git a/object.c b/object.c index 12985ee48..f29193146 100644 --- a/object.c +++ b/object.c @@ -1644,7 +1644,7 @@ str_to_id(str) rb_raise(rb_eArgError, "empty symbol string"); } if (RSTRING(str)->len != strlen(RSTRING(str)->ptr)) { - warn("Symbols should not contain NUL (\\0)"); + rb_warn("Symbols should not contain NUL (\\0)"); } return rb_intern(RSTRING(str)->ptr); } -- cgit