diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-03 04:35:24 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-08-03 04:35:24 +0000 |
commit | 2e4b99e69de1db712f85e3ce7cf4f3331c9d697d (patch) | |
tree | 73e6b628fed0e96ee0047de080700a0380bc16ea /thread.c | |
parent | 7bfbd25a6bb8b864713d58ff8f988aa4a853246e (diff) | |
download | ruby-2e4b99e69de1db712f85e3ce7cf4f3331c9d697d.tar.gz |
thread.c: fix message
* thread.c (thread_shield_get_mutex): fix object to be shown in
the message, NULL pointer is useless.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4718,7 +4718,7 @@ thread_shield_get_mutex(VALUE self) { VALUE mutex = GetThreadShieldPtr(self); if (!mutex) - rb_raise(rb_eThreadError, "destroyed thread shield - %p", (void *)mutex); + rb_raise(rb_eThreadError, "destroyed thread shield - %p", (void *)self); return mutex; } |