diff options
| author | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-24 00:17:43 +0000 |
|---|---|---|
| committer | akr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-09-24 00:17:43 +0000 |
| commit | f8056c5096d508b92270e2d0a3223332e8e1ac4b (patch) | |
| tree | f7e8712d5864c0f5059955905241b94e33656379 /variable.c | |
| parent | 4d9732de6810841b590dbe6477490370cc908f2c (diff) | |
| download | ruby-f8056c5096d508b92270e2d0a3223332e8e1ac4b.tar.gz ruby-f8056c5096d508b92270e2d0a3223332e8e1ac4b.tar.xz ruby-f8056c5096d508b92270e2d0a3223332e8e1ac4b.zip | |
banish some warnings.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@9292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
| -rw-r--r-- | variable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c index 2c27da1b4..24a339b09 100644 --- a/variable.c +++ b/variable.c @@ -1165,7 +1165,7 @@ rb_autoload(VALUE mod, ID id, const char *file) struct st_table *tbl; if (!rb_is_const_id(id)) { - rb_raise(rb_eNameError, "autoload must be constant name", rb_id2name(id)); + rb_raise(rb_eNameError, "autoload must be constant name: %s", rb_id2name(id)); } if (!file || !*file) { rb_raise(rb_eArgError, "empty file name"); |
