aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pstore.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pstore.rb')
-rw-r--r--lib/pstore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb
index 66a919e189..87153ed2cd 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -128,7 +128,7 @@ class PStore
@abort = false
@ultra_safe = false
@thread_safe = thread_safe
- @lock = Mutex.new
+ @lock = Thread::Mutex.new
end
# Raises PStore::Error if the calling code is not in a PStore#transaction.