summaryrefslogtreecommitdiff
path: root/gc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-27 14:29:13 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-07-27 14:29:13 +0000
commit38d5918439dd6f19e1e2350cb3c37a4331b8abbf (patch)
treefab658f977c1d691ff375e359c7bad724da75f0d /gc.c
parentd953cb43240cc144300ff492a3145dcf63312a26 (diff)
* gc.c (obj_free): make message formant consistent with one from
gc_mark(). [ruby-talk:149668] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@8851 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 7a2ae7d..ca3862f 100644
--- a/gc.c
+++ b/gc.c
@@ -1256,8 +1256,8 @@ obj_free(obj)
break;
default:
- rb_bug("gc_sweep(): unknown data type 0x%lx(%ld)", obj,
- RANY(obj)->as.basic.flags & T_MASK);
+ rb_bug("gc_sweep(): unknown data type 0x%lx(0x%lx)",
+ RANY(obj)->as.basic.flags & T_MASK, obj);
}
}