summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 22:23:52 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-23 22:23:52 +0000
commite9381c0559cc7c8b241db3eab46fd01b062acbad (patch)
tree21ab400e24909f157ce815e2bd458181460b4a83 /error.c
parente1682d34749a2b7c51561d76741343cf367c30ed (diff)
* error.c (rb_compile_error_append): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index bac45d3c67..2dfe4ed119 100644
--- a/error.c
+++ b/error.c
@@ -153,7 +153,7 @@ rb_compile_error_append(const char *fmt, ...)
VALUE str;
va_start(args, fmt);
- str = rb_sprintf(fmt, args);
+ str = rb_vsprintf(fmt, args);
va_end(args);
compile_err_append(str);
}