aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-23 16:36:26 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-05-23 16:36:26 +0000
commit929685d4e69eb5d3348350681a0ed04eed47d8e4 (patch)
treef73517a2de3145fb34c530cdb5b48f864c432352 /debug.c
parent97044513c75da2d1e695e7cd62195d91c57f3c51 (diff)
downloadruby-929685d4e69eb5d3348350681a0ed04eed47d8e4.tar.gz
* 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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index b526ab9523..a5ae6a7467 100644
--- a/debug.c
+++ b/debug.c
@@ -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;