From 1ecabea8a6db3a187c30317be4a1586ec55ff237 Mon Sep 17 00:00:00 2001 From: crowning- Date: Thu, 18 Aug 2016 16:23:39 +0200 Subject: [PATCH] CDB: fix debug output (#947) * CDB: fix debug output --- src/wallet/db.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/db.cpp b/src/wallet/db.cpp index 50b0f40a6..4c314df4a 100644 --- a/src/wallet/db.cpp +++ b/src/wallet/db.cpp @@ -268,7 +268,7 @@ CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnClose pdb = NULL; --bitdb.mapFileUseCount[strFile]; strFile = ""; - throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFile)); + throw runtime_error(strprintf("CDB: Error %d, can't open database %s", ret, strFilename)); } if (fCreate && !Exists(string("version"))) {