summaryrefslogtreecommitdiff
path: root/vm_backtrace.c
diff options
context:
space:
mode:
authornagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-19 13:31:26 (GMT)
committernagachika <nagachika@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-19 13:31:26 (GMT)
commit82b2436422231701d666a6d7a06f8a7b1fa293aa (patch)
tree356956e6f9a304deacc8abefff322d11f1e89283 /vm_backtrace.c
parentf17aa9b361f3d7eb2eac2d1403d1818e9522a315 (diff)
* 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
Diffstat (limited to 'vm_backtrace.c')
-rw-r--r--vm_backtrace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_backtrace.c b/vm_backtrace.c
index 1261744..6696391 100644
--- a/vm_backtrace.c
+++ b/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;