diff options
Diffstat (limited to 'src/dbwrapper.cpp')
| -rw-r--r-- | src/dbwrapper.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/dbwrapper.cpp b/src/dbwrapper.cpp index 92c4fe363..4e1e403f6 100644 --- a/src/dbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -1,11 +1,9 @@ -// Copyright (c) 2012-2016 The Bitcoin Core developers +// Copyright (c) 2012-2017 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #include <dbwrapper.h> -#include <fs.h> -#include <util.h> #include <random.h> #include <leveldb/cache.h> @@ -64,7 +62,7 @@ public: assert(p <= limit); base[std::min(bufsize - 1, (int)(p - base))] = '\0'; - LogPrintStr(base); + LogPrintf("leveldb: %s", base); if (base != buffer) { delete[] base; } |