diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-21 16:17:13 -0700 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-10-21 16:17:13 -0700 |
commit | 7b2bb96271cb456c2b958b502788ac5ca94c84d4 (patch) | |
tree | 4e1af5447b8bf4503acb49b00301587a7101e210 | |
parent | ed6d1a2c7be9d046d5e78330d5e163023a6b302a (diff) |
Replace some function names with __func__
-rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 9cf3afef7d..8b4c03c190 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -2818,11 +2818,11 @@ bool static LoadBlockIndexDB() // Load block file info pblocktree->ReadLastBlockFile(nLastBlockFile); vinfoBlockFile.resize(nLastBlockFile + 1); - LogPrintf("LoadBlockIndexDB(): last block file = %i\n", nLastBlockFile); + LogPrintf("%s: last block file = %i\n", __func__, nLastBlockFile); for (int nFile = 0; nFile <= nLastBlockFile; nFile++) { pblocktree->ReadBlockFileInfo(nFile, vinfoBlockFile[nFile]); } - LogPrintf("LoadBlockIndexDB(): last block file info: %s\n", vinfoBlockFile[nLastBlockFile].ToString()); + LogPrintf("%s: last block file info: %s\n", __func__, vinfoBlockFile[nLastBlockFile].ToString()); for (int nFile = nLastBlockFile + 1; true; nFile++) { CBlockFileInfo info; if (pblocktree->ReadBlockFileInfo(nFile, info)) { |