diff options
Diffstat (limited to 'src/mongo/client/distlock.cpp')
-rw-r--r-- | src/mongo/client/distlock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/client/distlock.cpp b/src/mongo/client/distlock.cpp index 6097733d5aa..56e8e296d06 100644 --- a/src/mongo/client/distlock.cpp +++ b/src/mongo/client/distlock.cpp @@ -50,7 +50,7 @@ namespace mongo { // cache process string stringstream ss; - ss << getHostName() << ":" << cmdLine.port << ":" << time(0) << ":" << rand(); + ss << getHostName() << ":" << serverGlobalParams.port << ":" << time(0) << ":" << rand(); _cachedProcessString = new string( ss.str() ); } |