summaryrefslogtreecommitdiffstats
path: root/gc.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-24 05:07:07 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-24 05:07:07 +0000
commitddb9418428459e49523c0872283f64c6068441c3 (patch)
tree727a9714c7b5cad4d519e7e4df08fb1899972088 /gc.c
parentd53d108238926b23c386d93a695e5f4bd3462a63 (diff)
downloadruby-ddb9418428459e49523c0872283f64c6068441c3.tar.gz
ruby-ddb9418428459e49523c0872283f64c6068441c3.tar.xz
ruby-ddb9418428459e49523c0872283f64c6068441c3.zip
* gc.c (init_GC): typo fix(rb_exc_new -> rb_exc_new2).
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.c b/gc.c
index 6cd0222f2..69be3b21b 100644
--- a/gc.c
+++ b/gc.c
@@ -1548,6 +1548,6 @@ Init_GC()
source_filenames = st_init_strtable();
- nomem_error = rb_exc_new(rb_eNoMemError, "failed to allocate memory");
+ nomem_error = rb_exc_new2(rb_eNoMemError, "failed to allocate memory");
rb_global_variable(&nomem_error);
}