summaryrefslogtreecommitdiff
path: root/src/mongo/db/d_concurrency.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/d_concurrency.cpp')
-rw-r--r--src/mongo/db/d_concurrency.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/d_concurrency.cpp b/src/mongo/db/d_concurrency.cpp
index 9e114c99d40..a580c710893 100644
--- a/src/mongo/db/d_concurrency.cpp
+++ b/src/mongo/db/d_concurrency.cpp
@@ -202,7 +202,7 @@ namespace mongo {
void reportLockStats(BSONObjBuilder& result) {
BSONObjBuilder b;
b.append(".", qlk.stats.report());
- b.append("admin", nestableLocks[Lock::local]->stats.report());
+ b.append("admin", nestableLocks[Lock::admin]->stats.report());
b.append("local", nestableLocks[Lock::local]->stats.report());
{
mapsf<string,WrapperForRWLock*>::ref r(dblocks);