diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 01:49:49 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-05-16 01:49:49 +0000 |
commit | 421c0aaf2492ea5e0c7a2eb1a01fcd72f1715ffb (patch) | |
tree | 91378e2367877eaa58ab60a602596ea5077e7434 /ext | |
parent | 43dc4b9c2ea3bee85d878993ac7b62982295c0a5 (diff) |
* ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.
a patch by Masaya TARUI <tarui AT prx.jp>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_2@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/iconv/iconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/iconv/iconv.c b/ext/iconv/iconv.c index a25e9cb079..ff30c4e13a 100644 --- a/ext/iconv/iconv.c +++ b/ext/iconv/iconv.c @@ -178,7 +178,7 @@ static void rb_iconv_sys_fail(const char *s) { if (errno == 0) { - rb_raise(rb_eIconvBrokenLibrary, "%s", s); + rb_exc_raise(iconv_fail(rb_eIconvBrokenLibrary, Qnil, Qnil, NULL, s)); } rb_sys_fail(s); } |