diff --git a/extlib/benz/lib.c b/extlib/benz/lib.c index 4a82a981..234f3833 100644 --- a/extlib/benz/lib.c +++ b/extlib/benz/lib.c @@ -169,7 +169,7 @@ export(pic_state *pic, pic_value spec) } #if DEBUG - printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym(b)), pic_symbol_name(pic, rename)); + printf("* exporting %s as %s\n", pic_symbol_name(pic, pic_sym_ptr(b)), pic_symbol_name(pic, rename)); #endif pic_dict_set(pic, pic->lib->exports, pic_sym_ptr(b), pic_obj_value(rename));