summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--gc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d52db826ab..17d9c9318e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 20 05:15:19 2011 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
+
+ * gc.c: Fix build on m68k by 'error: too few arguments to
+ function 'mark_locations_array''.
+
Fri May 20 04:23:42 2011 Eric Hodel <drbrain@segment7.net>
* lib/scanf.rb: Improve documentation. Patch by Gabe McArthur.
diff --git a/gc.c b/gc.c
index 8886da0452..d63300231f 100644
--- a/gc.c
+++ b/gc.c
@@ -2349,7 +2349,7 @@ mark_current_machine_context(rb_objspace_t *objspace, rb_thread_t *th)
rb_gc_mark_locations(th->machine_register_stack_start, th->machine_register_stack_end);
#endif
#if defined(__mc68000__)
- mark_locations_array((VALUE*)((char*)STACK_END + 2),
+ mark_locations_array(objspace, (VALUE*)((char*)STACK_END + 2),
(STACK_START - STACK_END));
#endif
}