summaryrefslogtreecommitdiff
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
commitb1b44331de67e5b2e8343d8c74143ea4222007a2 (patch)
tree97c77038cb027f9dfe3a91908b0b035fde665832 /thread.c
parent8ac59769bcf9676e58e3ec6f3f7fb927258f545d (diff)
* thread.c (DEBUG_OUT): leave pointer size to runtime.
git-svn-id: svn+ssh://ci.ruby-lang.org/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 9cd676dbb2..45a6d57556 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);