diff --git a/util/mock_env.cc b/util/mock_env.cc index c1b74a3d3..856d73d92 100644 --- a/util/mock_env.cc +++ b/util/mock_env.cc @@ -43,7 +43,7 @@ class MemFile { if (locked_) { return false; } else { - refs_ = true; + locked_ = true; return true; } }