diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-10 16:30:40 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-12-10 16:30:40 +0000 |
commit | bd4d9e9a356def5be49b28be86240f5efd04489b (patch) | |
tree | 029ad29e8bfbe57aba6f8f4e04f0c41cbb4f2617 /thread.c | |
parent | 2c91d4ea9c2311a4034543893f70d4aa52089dee (diff) |
* thread.c (rb_mutex_unlock): shut up warning. a patch from
Kazuhiro NISHIYAMA in [ruby-dev:37345]. fix #846
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2978,7 +2978,7 @@ rb_mutex_unlock(VALUE self) GetMutexPtr(self, mutex); err = mutex_unlock(mutex); - if (err) rb_raise(rb_eThreadError, err); + if (err) rb_raise(rb_eThreadError, "%s", err); return self; } |