summaryrefslogtreecommitdiff
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-12 15:03:51 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-10-12 15:03:51 +0000
commitcea3919ae61ae16e04a5ee5c5394970c3960a0af (patch)
tree41c74b4c9bc624cc96691bf759a7d177f3345171 /thread.c
parent150b4efa5510d77fdde7b9692b3c391fbde6ac19 (diff)
* configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format
specifier if possible. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r--thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/thread.c b/thread.c
index 294df1a258..c28ea9c4a6 100644
--- a/thread.c
+++ b/thread.c
@@ -1274,7 +1274,7 @@ rb_threadptr_execute_interrupts_rec(rb_thread_t *th, int sched_depth)
if (th->thrown_errinfo) {
VALUE err = th->thrown_errinfo;
th->thrown_errinfo = 0;
- thread_debug("rb_thread_execute_interrupts: %ld\n", err);
+ thread_debug("rb_thread_execute_interrupts: %"PRIdVALUE"\n", err);
if (err == eKillSignal || err == eTerminateSignal) {
th->errinfo = INT2FIX(TAG_FATAL);