summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/mmap_v1/logfile.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /src/mongo/db/storage/mmap_v1/logfile.cpp
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'src/mongo/db/storage/mmap_v1/logfile.cpp')
-rw-r--r--src/mongo/db/storage/mmap_v1/logfile.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mongo/db/storage/mmap_v1/logfile.cpp b/src/mongo/db/storage/mmap_v1/logfile.cpp
index 6124ce51248..ddc66b8ce2f 100644
--- a/src/mongo/db/storage/mmap_v1/logfile.cpp
+++ b/src/mongo/db/storage/mmap_v1/logfile.cpp
@@ -123,7 +123,9 @@ void LogFile::synchronousAppend(const void* _buf, size_t _len) {
else
uasserted(13517,
str::stream() << "error appending to file " << _name << ' ' << _len << ' '
- << toWrite << ' ' << errnoWithDescription(e));
+ << toWrite
+ << ' '
+ << errnoWithDescription(e));
} else {
dassert(written == toWrite);
}
@@ -137,10 +139,10 @@ void LogFile::synchronousAppend(const void* _buf, size_t _len) {
/// posix
-#include <sys/types.h>
-#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
+#include <sys/stat.h>
+#include <sys/types.h>
#ifdef __linux__
#include <linux/fs.h>