summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-16 04:49:46 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-12-16 04:49:46 +0000
commit65139d80fefc587e1f09328f69454cc407cd1afc (patch)
treef02ad5218be96cad30beff783e64332d7c0b7c56 /gc.c
parente837ea42bf28c5cda254a9ec9b193c6f73fb0d2b (diff)
refine "unknown data type" message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'gc.c')
-rw-r--r--gc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gc.c b/gc.c
index c172a08..d44088c 100644
--- a/gc.c
+++ b/gc.c
@@ -988,9 +988,9 @@ gc_mark_children(ptr, lev)
break;
default:
- rb_bug("rb_gc_mark(): unknown data type 0x%lx(0x%lx) %s",
+ rb_bug("rb_gc_mark(): unknown data type 0x%lx (0x%lx) %s",
obj->as.basic.flags & T_MASK, obj,
- is_pointer_to_heap(obj) ? "corrupted object" : "non object");
+ is_pointer_to_heap(obj) ? "corrupted object" : "not a pointer to heap");
}
}