Skip to content

Commit

Permalink
fix typo pointed by @be9. Thanks! #11
Browse files Browse the repository at this point in the history
  • Loading branch information
ko1 committed Sep 9, 2015
1 parent 01aa824 commit 8d75680
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/gc_tracer/gc_logging.c
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ Init_gc_tracer_logging(VALUE mod)
rb_define_module_function(mod, "setup_logging_rusage=", gc_tracer_setup_logging_rusage, 1);

/* custom fields */
rb_define_module_function(mod, "setup_looging_custom_fields=", gc_tracer_setup_logging_custom_fields, 1);
rb_define_module_function(mod, "setup_logging_custom_fields=", gc_tracer_setup_logging_custom_fields, 1);
rb_define_module_function(mod, "custom_field_increment", gc_tracer_custom_field_increment, 1);
rb_define_module_function(mod, "custom_field_decrement", gc_tracer_custom_field_decrement, 1);
rb_define_module_function(mod, "custom_field_set", gc_tracer_custom_field_set, 2);
Expand Down
2 changes: 1 addition & 1 deletion lib/gc_tracer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.start_logging(filename_opt = nil,
self.setup_logging_gc_latest_gc_info = gc_latest_gc_info
self.setup_logging_rusage = rusage
self.setup_logging_tick_type = tick_type
self.setup_looging_custom_fields = custom_fields
self.setup_logging_custom_fields = custom_fields

if block_given?
begin
Expand Down

0 comments on commit 8d75680

Please sign in to comment.