summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-31 08:37:47 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-10-31 08:37:47 +0000
commitcecaed6f4af527cde4ab03eb61baeb397cd96b5e (patch)
tree8aa0738f21319dc82e0403a4f065f831a907ebcc /gc.c
parent7e953f2d81f7a68abdd711180b56246b5d1a83dc (diff)
downloadruby-cecaed6f4af527cde4ab03eb61baeb397cd96b5e.tar.gz
ruby-cecaed6f4af527cde4ab03eb61baeb397cd96b5e.tar.xz
ruby-cecaed6f4af527cde4ab03eb61baeb397cd96b5e.zip
matz
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index 9c33634f9..1444a960a 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)");
}