summaryrefslogtreecommitdiffstats
path: root/thread.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:54:49 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 09:54:49 +0000
commit19477265271bc4e8300c30fa511afda105b65b44 (patch)
tree97c77038cb027f9dfe3a91908b0b035fde665832 /thread.c
parentf471899f65bf7649279852eb3928334a5cf59e86 (diff)
downloadruby-19477265271bc4e8300c30fa511afda105b65b44.tar.gz
ruby-19477265271bc4e8300c30fa511afda105b65b44.tar.xz
ruby-19477265271bc4e8300c30fa511afda105b65b44.zip
* 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
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 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);