summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--gc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dd5eaa4e80..bf5f70eb97 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jul 3 10:03:17 2008 Tanaka Akira <[email protected]>
+
+ * gc.c (Init_GC): fix syntax error.
+
Thu Jul 3 07:03:22 2008 Nobuyoshi Nakada <[email protected]>
* error.c (rb_exc_new3): keeps the given string itself.
diff --git a/gc.c b/gc.c
index 8a336222ff..f0a6d07045 100644
--- a/gc.c
+++ b/gc.c
@@ -2126,7 +2126,7 @@ Init_GC()
rb_global_variable(&nomem_error);
nomem_error = rb_exc_new3(rb_eNoMemError,
- rb_obj_freeze(rb_str_new2"failed to allocate memory"));
+ rb_obj_freeze(rb_str_new2("failed to allocate memory")));
OBJ_TAINT(nomem_error);
OBJ_FREEZE(nomem_error);