summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine_lock_file_windows.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-18 00:19:33 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2019-06-18 00:19:33 -0400
commitc436b8090417baf847143e97f5d221285b1898e1 (patch)
treebb5369a793c8ec6646b20e92b1a0f85b7979682f /src/mongo/db/storage/storage_engine_lock_file_windows.cpp
parent5eda33f9fa40a1a17f9f63f904a8c147700d648c (diff)
downloadmongo-c436b8090417baf847143e97f5d221285b1898e1.tar.gz
SERVER-41644 Expose explicit encryption helpers in community shell
Diffstat (limited to 'src/mongo/db/storage/storage_engine_lock_file_windows.cpp')
-rw-r--r--src/mongo/db/storage/storage_engine_lock_file_windows.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/storage/storage_engine_lock_file_windows.cpp b/src/mongo/db/storage/storage_engine_lock_file_windows.cpp
index 72abd6a68bf..2be6f11bb03 100644
--- a/src/mongo/db/storage/storage_engine_lock_file_windows.cpp
+++ b/src/mongo/db/storage/storage_engine_lock_file_windows.cpp
@@ -170,14 +170,12 @@ Status StorageEngineLockFile::writeString(StringData str) {
NULL) == FALSE) {
int errorcode = GetLastError();
return Status(ErrorCodes::FileStreamFailed,
- str::stream() << "Unable to write string " << str << " to file: "
- << _filespec
+ str::stream() << "Unable to write string " << str << " to file: " << _filespec
<< ' '
<< errnoWithDescription(errorcode));
} else if (bytesWritten == 0) {
return Status(ErrorCodes::FileStreamFailed,
- str::stream() << "Unable to write string " << str << " to file: "
- << _filespec
+ str::stream() << "Unable to write string " << str << " to file: " << _filespec
<< " no data written.");
}