From e434a3f28048cbf4d8b998a112407c41a69b493a Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 May 2014 06:20:34 +0000 Subject: gc.c: fix typo * gc.c (objspace_malloc_increase): fix typo. "increase" not "incraese". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index d9456bbc27..6c9547ef1a 100644 --- a/gc.c +++ b/gc.c @@ -6160,7 +6160,7 @@ objspace_malloc_increase(rb_objspace_t *objspace, void *mem, size_t new_size, si atomic_sub_nounderflow(&objspace->malloc_params.allocated_size, dec_size); } - if (0) fprintf(stderr, "incraese - ptr: %p, type: %s, new_size: %d, old_size: %d\n", + if (0) fprintf(stderr, "increase - ptr: %p, type: %s, new_size: %d, old_size: %d\n", mem, type == MEMOP_TYPE_MALLOC ? "malloc" : type == MEMOP_TYPE_FREE ? "free " : -- cgit v1.2.3