summaryrefslogtreecommitdiff
path: root/src/mongo/util/file_allocator.cpp
diff options
context:
space:
mode:
authorShaun Verch <shaun.verch@10gen.com>2012-10-24 10:45:27 -0700
committerMathias Stearn <redbeard0531@gmail.com>2013-03-06 17:32:43 -0500
commit910e3d71fed12bc5731c652b793183c15dbb0977 (patch)
treeaa29b412939045b15ffd45dc8310d6c63ac0bcdf /src/mongo/util/file_allocator.cpp
parent0b92639ad548a9262bf7ee19dbf66b7478fe09e8 (diff)
downloadmongo-910e3d71fed12bc5731c652b793183c15dbb0977.tar.gz
SERVER-7231 Use LOG(level) macro instead of log(level) function
Conflicts: src/mongo/client/distlock.cpp src/mongo/db/geo/haystack.cpp src/mongo/db/pdfile.cpp src/mongo/db/queryoptimizer.cpp src/mongo/db/repl/rs.cpp src/mongo/s/config.cpp
Diffstat (limited to 'src/mongo/util/file_allocator.cpp')
-rw-r--r--src/mongo/util/file_allocator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/file_allocator.cpp b/src/mongo/util/file_allocator.cpp
index 905029736bf..07a962b42a2 100644
--- a/src/mongo/util/file_allocator.cpp
+++ b/src/mongo/util/file_allocator.cpp
@@ -155,7 +155,7 @@ namespace mongo {
void FileAllocator::ensureLength(int fd , long size) {
#if !defined(_WIN32)
if (useSparseFiles(fd)) {
- log(1) << "using ftruncate to create a sparse file" << endl;
+ LOG(1) << "using ftruncate to create a sparse file" << endl;
int ret = ftruncate(fd, size);
uassert(16063, "ftruncate failed: " + errnoWithDescription(), ret == 0);
return;