summaryrefslogtreecommitdiff
path: root/src/mongo/util/processinfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/processinfo.h')
-rw-r--r--src/mongo/util/processinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/processinfo.h b/src/mongo/util/processinfo.h
index 942ffc54136..3046f809e4f 100644
--- a/src/mongo/util/processinfo.h
+++ b/src/mongo/util/processinfo.h
@@ -152,7 +152,7 @@ public:
* Get extra system stats
*/
void appendSystemDetails(BSONObjBuilder& details) const {
- details.append(StringData("extra"), sysInfo()._extraStats.copy());
+ details.appendElements(sysInfo()._extraStats);
}
/**