summaryrefslogtreecommitdiff
path: root/src/mongo/util/procparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/util/procparser.cpp')
-rw-r--r--src/mongo/util/procparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/procparser.cpp b/src/mongo/util/procparser.cpp
index 625b8b7466a..90d148f3219 100644
--- a/src/mongo/util/procparser.cpp
+++ b/src/mongo/util/procparser.cpp
@@ -97,7 +97,7 @@ StatusWith<std::string> readFileAsString(StringData filename) {
str::stream() << "Failed to open file " << filename << " with error: "
<< errnoWithDescription(err));
}
- auto scopedGuard = MakeGuard([fd] { close(fd); });
+ auto scopedGuard = makeGuard([fd] { close(fd); });
BufBuilder builder(kFileBufferSize);
std::array<char, kFileBufferSize> buf;