Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* vm_backtrace.c (vm_backtrace_to_ary): fix a typo of an variable name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
commit 82b2436422231701d666a6d7a06f8a7b1fa293aa 1 parent f17aa9b
@nagachika nagachika authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 vm_backtrace.c
View
4 vm_backtrace.c
@@ -698,14 +698,14 @@ rb_make_backtrace(void)
}
static VALUE
-vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_deafult, int lev_plus, int to_str)
+vm_backtrace_to_ary(rb_thread_t *th, int argc, VALUE *argv, int lev_default, int lev_plus, int to_str)
{
VALUE level, vn;
int lev, n;
rb_scan_args(argc, argv, "02", &level, &vn);
- lev = NIL_P(level) ? lev_deafult : NUM2INT(level);
+ lev = NIL_P(level) ? lev_default : NUM2INT(level);
if (NIL_P(vn)) {
n = 0;
Please sign in to comment.
Something went wrong with that request. Please try again.