diff options
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); } |