From 5cebf6d7a6f3a7277f26cc266534b96dae7ae4ff Mon Sep 17 00:00:00 2001 From: a_matsuda Date: Tue, 17 Dec 2013 11:18:47 +0000 Subject: * 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 --- ext/objspace/object_tracing.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/objspace') 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); } -- cgit v1.2.3