aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authora_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-17 11:18:47 +0000
committera_matsuda <a_matsuda@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-17 11:18:47 +0000
commit5cebf6d7a6f3a7277f26cc266534b96dae7ae4ff (patch)
tree4acd1cd84a94cbeee03d7f507a6f6155a947b676
parent571955c13fc9363b16756c8419d6ea9bcd8de06f (diff)
downloadruby-5cebf6d7a6f3a7277f26cc266534b96dae7ae4ff.tar.gz
* ext/objspace/object_tracing.c: Fix typo in a variable name
s/registerd/registered/ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/objspace/object_tracing.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/objspace/object_tracing.c b/ext/objspace/object_tracing.c
index 0ffdafb520..45b06aef8c 100644
--- a/ext/objspace/object_tracing.c
+++ b/ext/objspace/object_tracing.c
@@ -274,7 +274,7 @@ trace_object_allocations(VALUE self)
}
int rb_bug_reporter_add(void (*func)(FILE *, void *), void *data);
-static int object_allocations_reporter_registerd = 0;
+static int object_allocations_reporter_registered = 0;
static int
object_allocations_reporter_i(st_data_t key, st_data_t val, st_data_t ptr)
@@ -307,8 +307,8 @@ static VALUE
trace_object_allocations_debug_start(VALUE self)
{
tmp_keep_remains = 1;
- if (object_allocations_reporter_registerd == 0) {
- object_allocations_reporter_registerd = 1;
+ if (object_allocations_reporter_registered == 0) {
+ object_allocations_reporter_registered = 1;
rb_bug_reporter_add(object_allocations_reporter, 0);
}