ruby-changes:65381
From: Peter <ko1@a...>
Date: Wed, 3 Mar 2021 03:05:07 +0900 (JST)
Subject: [ruby-changes:65381] 6d834371c0 (master): Fix typo
https://git.ruby-lang.org/ruby.git/commit/?id=6d834371c0 From 6d834371c028a92f8bb7c2520cedf3d7f2469a8a Mon Sep 17 00:00:00 2001 From: Peter Zhu <peter@p...> Date: Mon, 1 Mar 2021 09:40:43 -0500 Subject: Fix typo --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index d1a9174..30ded93 100644 --- a/gc.c +++ b/gc.c @@ -10406,7 +10406,7 @@ rb_aligned_malloc(size_t alignment, size_t size) https://github.com/ruby/ruby/blob/trunk/gc.c#L10406 GC_ASSERT(start_out_of_range_size % sysconf(_SC_PAGE_SIZE) == 0); if (start_out_of_range_size > 0) { if (munmap(ptr, start_out_of_range_size)) { - rb_bug("rb_aligned_malloc: munmap faile for start"); + rb_bug("rb_aligned_malloc: munmap failed for start"); } } -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/