From 42a2fa3b175b6420a23f22441179521b4193ddd7 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 8 Jun 2020 15:08:15 -0700 Subject: [PATCH] fix debugging output --- gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gc.c b/gc.c index 74bed6be2e..63f1629b76 100644 --- a/gc.c +++ b/gc.c @@ -8406,7 +8406,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj) { RVALUE *any = RANY(obj); - gc_report(4, objspace, "update-refs: %p ->", (void *)obj); + gc_report(4, objspace, "update-refs: %p ->\n", (void *)obj); switch (BUILTIN_TYPE(obj)) { case T_CLASS: @@ -8555,7 +8555,7 @@ gc_update_object_references(rb_objspace_t *objspace, VALUE obj) UPDATE_IF_MOVED(objspace, RBASIC(obj)->klass); - gc_report(4, objspace, "update-refs: %p <-", (void *)obj); + gc_report(4, objspace, "update-refs: %p <-\n", (void *)obj); } static int