summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-24 00:17:43 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-09-24 00:17:43 +0000
commit0517b43c5b58ccc2acddea80cdfa4e16e19aa84d (patch)
treef7e8712d5864c0f5059955905241b94e33656379 /variable.c
parent8a6eb889e03a76464af1f42576cf7d9f096433ca (diff)
banish some warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@9292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 2c27da1b45..24a339b09d 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");