diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-23 16:36:26 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-05-23 16:36:26 +0000 |
commit | 5ea16ea6de794451b8a9040eeb951b1b045c647c (patch) | |
tree | f73517a2de3145fb34c530cdb5b48f864c432352 /debug.c | |
parent | 8b5ffc368379b24d8e1f91c901a43f33d4eaefd1 (diff) |
* debug.c (ruby_debug_print_id): use rb_id2name() for fprintf().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -115,7 +115,7 @@ ID ruby_debug_print_id(int level, int debug_level, const char *header, ID id) { if (level < debug_level) { - fprintf(stderr, "DBG> %s: %"PRIsVALUE"\n", header, rb_id2str(id)); + fprintf(stderr, "DBG> %s: %s\n", header, rb_id2name(id)); fflush(stderr); } return id; |