mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
abfa2b6c7e
commit
e434a3f280
1 changed files with 1 additions and 1 deletions
2
gc.c
2
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 " :
|
||||
|
|
Loading…
Reference in a new issue