summaryrefslogtreecommitdiff
path: root/sprintf.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 02:31:11 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-21 02:31:11 +0000
commit4cf437519f1cbefed5ad7ee2bf0e68857105823f (patch)
tree735cc60c2165cefab0d4cf11cd399e73f8c47f82 /sprintf.c
parent817a4e3c83fd830b93c286159e97a18654db1c35 (diff)
* regerror.c, string.c, io.c, lib/getoptlong.rb, lib/net/imap.rb,
compile.c, sprintf.c, parse.y, ext/win32ole/win32ole.c, ext/tk/sample/demos-en/entry3.rb, ext/tk/lib/tcltk.rb, ext/openssl/ossl_bn.c, numeric.c, vm.c, benchmark/bm_so_meteor_contest.rb, bignum.c, ruby.c: don't "illegal" for non law violation context. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r--sprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sprintf.c b/sprintf.c
index b59e3d1401..48aae1de34 100644
--- a/sprintf.c
+++ b/sprintf.c
@@ -406,7 +406,7 @@ rb_str_format(int argc, const VALUE *argv, VALUE fmt)
p--;
case '%':
if (flags != FNONE) {
- rb_raise(rb_eArgError, "illegal format character - %%");
+ rb_raise(rb_eArgError, "invalid format character - %%");
}
PUSH("%", 1);
break;