From a117cec653030f1e1e33d2c10b057c044fad4618 Mon Sep 17 00:00:00 2001 From: eban Date: Wed, 24 Apr 2002 05:07:07 +0000 Subject: [PATCH] * gc.c (init_GC): typo fix(rb_exc_new -> rb_exc_new2). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc.c b/gc.c index 6cd0222f2f..69be3b21ba 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); }