summaryrefslogtreecommitdiff
path: root/lib/sync.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sync.rb')
-rw-r--r--lib/sync.rb4
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