diff options
author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-16 13:23:51 +0000 |
---|---|---|
committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-03-16 13:23:51 +0000 |
commit | a658ebd5bc1f3826d13e22612b9476fd7b5b306a (patch) | |
tree | 652646e818c0e457c838d5eeb6829a84dd47ece7 /object.c | |
parent | be458259da8b3e2623e426fd3354690e01da7a90 (diff) |
* object.c (str_to_id): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |