summaryrefslogtreecommitdiff
path: root/src/mongo/util/file.h
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@10gen.com>2012-09-27 16:42:56 -0700
committerShaun Verch <shaun.verch@10gen.com>2012-11-06 07:53:40 -0800
commit48ee27067f024b23066070a7e1d5acd3e91960ee (patch)
treed34bcd89dbf9ae418aa1ec57c934e3a4a675dbfb /src/mongo/util/file.h
parent090f250d7f42bb98dd9a52bd6fc3f47fe9d7d241 (diff)
downloadmongo-48ee27067f024b23066070a7e1d5acd3e91960ee.tar.gz
SERVER-3795 Make sure every logical log statement ends with endl, so that the next log statement will begin with a date
Diffstat (limited to 'src/mongo/util/file.h')
-rw-r--r--src/mongo/util/file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/util/file.h b/src/mongo/util/file.h
index 410c20d3651..6b3edb25696 100644
--- a/src/mongo/util/file.h
+++ b/src/mongo/util/file.h
@@ -64,7 +64,7 @@ namespace mongo {
void err(BOOL b=false) { /* false = error happened */
if( !b && !_bad ) {
_bad = true;
- log() << "File " << _name << "I/O error " << GetLastError() << '\n';
+ log() << "File " << _name << "I/O error " << GetLastError() << endl;
}
}
public:
@@ -154,7 +154,7 @@ namespace mongo {
void err(bool ok) {
if( !ok && !_bad ) {
_bad = true;
- log() << "File I/O " << errnoWithDescription() << '\n';
+ log() << "File I/O " << errnoWithDescription() << endl;
}
}
public: