From c90b1ecaf81868ab64b014401ea75eb45da2c5d0 Mon Sep 17 00:00:00 2001 From: matz Date: Tue, 31 Oct 2000 08:37:47 +0000 Subject: matz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gc.c') diff --git a/gc.c b/gc.c index 9c33634f92..1444a960a2 100644 --- a/gc.c +++ b/gc.c @@ -80,7 +80,7 @@ ruby_xmalloc(size) mem = malloc(size); if (!mem) { if (size >= 10 * 1024 * 1024) { - rb_raise(rb_eNoMemError, "tryed to allocate too big memory"); + rb_raise(rb_eNoMemError, "tried to allocate too big memory"); } mem_error("failed to allocate memory"); } @@ -120,7 +120,7 @@ ruby_xrealloc(ptr, size) mem = realloc(ptr, size); if (!mem) if (size >= 50 * 1024 * 1024) { - rb_raise(rb_eNoMemError, "tryed to re-allocate too big memory"); + rb_raise(rb_eNoMemError, "tried to re-allocate too big memory"); } mem_error("failed to allocate memory(realloc)"); } -- cgit v1.2.3