From 19477265271bc4e8300c30fa511afda105b65b44 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 24 Feb 2007 09:54:49 +0000 Subject: * thread.c (DEBUG_OUT): leave pointer size to runtime. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread.c b/thread.c index 9cd676dbb..45a6d5755 100644 --- a/thread.c +++ b/thread.c @@ -153,7 +153,7 @@ rb_thread_s_debug_set(VALUE self, VALUE val) #define DEBUG_OUT() \ pthread_mutex_lock(&debug_mutex); \ - printf("%8p - %s", pthread_self(), buf); \ + printf("%p - %s", pthread_self(), buf); \ fflush(stdout); \ pthread_mutex_unlock(&debug_mutex); -- cgit