mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e1682d3474
commit
e9381c0559
1 changed files with 1 additions and 1 deletions
2
error.c
2
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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue