diff options
author | Chris Wilson <chris+github@qwirx.com> | 2011-04-20 15:35:39 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2011-04-20 15:35:39 +0000 |
commit | 6e2d0877d928391c74bfa0d88341b42fb8e06d03 (patch) | |
tree | 23acd66d7fb9c5cf4b68a862b36078e5a20e88de /lib/backupstore | |
parent | 15f68b7de653e4fc48da75a69afb203775e7463d (diff) |
Use the reference count database name constant rather than hard-coding it.
Diffstat (limited to 'lib/backupstore')
-rw-r--r-- | lib/backupstore/BackupStoreRefCountDatabase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/backupstore/BackupStoreRefCountDatabase.cpp b/lib/backupstore/BackupStoreRefCountDatabase.cpp index f6db2ca4..9c934335 100644 --- a/lib/backupstore/BackupStoreRefCountDatabase.cpp +++ b/lib/backupstore/BackupStoreRefCountDatabase.cpp @@ -61,7 +61,7 @@ std::string BackupStoreRefCountDatabase::GetFilename(const ASSERT(RootDir[RootDir.size() - 1] == '/' || RootDir[RootDir.size() - 1] == DIRECTORY_SEPARATOR_ASCHAR); - std::string fn(RootDir + "refcount.db"); + std::string fn(RootDir + REFCOUNT_FILENAME ".db"); RaidFileController &rcontroller(RaidFileController::GetController()); RaidFileDiscSet rdiscSet(rcontroller.GetDiscSet(rAccount.GetDiscSet())); return RaidFileUtil::MakeWriteFileName(rdiscSet, fn); |