diff options
author | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-18 10:24:48 +0000 |
---|---|---|
committer | kazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-09-18 10:24:48 +0000 |
commit | 2c2a111ecf1ea0030b74dab173591d20e457db3f (patch) | |
tree | 95b5f9c3a91b0b147d532a2b6e15637a6b8daf66 /lib/sync.rb | |
parent | b9e96915ba7bcb0554615817dcb866446dbef55a (diff) | |
download | ruby-2c2a111ecf1ea0030b74dab173591d20e457db3f.tar.gz |
* lib/sync.rb: Fix NameError when error.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/sync.rb')
-rw-r--r-- | lib/sync.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sync.rb b/lib/sync.rb index c95343594f..40a48ac985 100644 --- a/lib/sync.rb +++ b/lib/sync.rb @@ -68,7 +68,7 @@ module Sync_m Message = "Unknown lock mode(%s)" def LockModeFailer.Fail(mode) if mode.id2name - mode = id2name + mode = mode.id2name end super(mode) end @@ -304,7 +304,7 @@ module Sync_m ret = false end else - Err::LockModeFailer.Fail mode + Err::LockModeFailer.Fail m end return ret end |