diff options
author | Kazuhiro NISHIYAMA <[email protected]> | 2021-11-26 10:17:28 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <[email protected]> | 2021-11-26 20:12:49 +0900 |
commit | 29877d944e46566e92062b28b8c79bb23061063b (patch) | |
tree | 77b3c07793e17b5d93e8dda3c968d60b427d2e54 /gc.c | |
parent | 04951a12265ffdd4d455772494db190885536cad (diff) |
Fix a function name in an error message
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/5181
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2433,7 +2433,7 @@ size_pool_idx_for_size(size_t size) /* size_pool_idx is ceil(log2(slot_count)) */ size_t size_pool_idx = 64 - nlz_int64(slot_count - 1); if (size_pool_idx >= SIZE_POOL_COUNT) { - rb_bug("size_pool_for_size: allocation size too large"); + rb_bug("size_pool_idx_for_size: allocation size too large"); } return size_pool_idx; |