From e9381c0559cc7c8b241db3eab46fd01b062acbad Mon Sep 17 00:00:00 2001 From: nobu Date: Sun, 23 Dec 2012 22:23:52 +0000 Subject: [PATCH] * 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 --- error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }