[bugfix] build failure in debug mode

This commit is contained in:
Yuichi Nishiwaki 2015-01-20 16:02:44 +09:00
parent 6e6e1de7a5
commit 1270787344
1 changed files with 1 additions and 1 deletions

View File

@ -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));