From ad6833ac79c656c9e4cec0723cc647b9f6b10a48 Mon Sep 17 00:00:00 2001 From: Yuichi Nishiwaki Date: Fri, 19 Jun 2015 23:34:12 +0900 Subject: [PATCH] fix #230 --- extlib/benz/record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extlib/benz/record.c b/extlib/benz/record.c index 55c98f14..dfa21908 100644 --- a/extlib/benz/record.c +++ b/extlib/benz/record.c @@ -30,7 +30,7 @@ pic_value pic_record_ref(pic_state *pic, struct pic_record *rec, pic_sym *slot) { if (! pic_dict_has(pic, rec->data, slot)) { - pic_errorf(pic, "slot named ~s is not found for record: ~s", pic_obj_value(slot), rec); + pic_errorf(pic, "slot named ~s is not found for record: ~s", pic_obj_value(slot), pic_obj_value(rec)); } return pic_dict_ref(pic, rec->data, slot); }