From cb04c90da224a2daa5beb9b2fae558abd2cb5c0e Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 9 May 2017 19:25:00 +0300 Subject: Fix mount / unmount function names in fs.cpp. --- src/fs/virtfs/fs.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/fs') diff --git a/src/fs/virtfs/fs.cpp b/src/fs/virtfs/fs.cpp index 20c245dd9..4b0170788 100644 --- a/src/fs/virtfs/fs.cpp +++ b/src/fs/virtfs/fs.cpp @@ -339,7 +339,7 @@ namespace VirtFs { if (newDir.find(".zip") != std::string::npos) { - reportAlways("Called FsDir::addToSearchPath with zip archive"); + reportAlways("Called FsDir::mount with zip archive"); return false; } std::string rootDir = newDir; @@ -348,7 +348,7 @@ namespace VirtFs const FsEntry *const entry = searchEntryByRootInternal(rootDir); if (entry != nullptr) { - reportAlways("VirtFs::addToSearchPath already exists: %s", + reportAlways("VirtFs::mount already exists: %s", newDir.c_str()); return false; } @@ -364,7 +364,7 @@ namespace VirtFs prepareFsPath(newDir); if (Files::existsLocal(newDir) == false) { - reportNonTests("VirtFs::addToSearchPath directory not exists: %s", + reportNonTests("VirtFs::mount directory not exists: %s", newDir.c_str()); return false; } @@ -377,7 +377,7 @@ namespace VirtFs prepareFsPath(newDir); if (Files::existsLocal(newDir) == false) { - logger->log("VirtFs::addToSearchPath directory not exists: %s", + logger->log("VirtFs::mount directory not exists: %s", newDir.c_str()); return false; } @@ -391,7 +391,7 @@ namespace VirtFs prepareFsPath(newDir); if (Files::existsLocal(newDir) == false) { - logger->log("VirtFs::addToSearchPath directory not exists: %s", + logger->log("VirtFs::mount directory not exists: %s", newDir.c_str()); } return mountDirInternal(newDir, append); @@ -424,7 +424,7 @@ namespace VirtFs prepareFsPath(oldDir); if (oldDir.find(".zip") != std::string::npos) { - reportAlways("Called removeFromSearchPath with zip archive"); + reportAlways("Called unmount with zip archive"); return false; } if (unmountDirInternal(oldDir) == false) @@ -441,7 +441,7 @@ namespace VirtFs prepareFsPath(oldDir); if (oldDir.find(".zip") != std::string::npos) { - reportAlways("Called removeFromSearchPath with zip archive"); + reportAlways("Called unmount with zip archive"); return false; } if (unmountDirInternal(oldDir) == false) @@ -459,19 +459,19 @@ namespace VirtFs prepareFsPath(newDir); if (Files::existsLocal(newDir) == false) { - reportNonTests("FsZip::addToSearchPath file not exists: %s", + reportNonTests("FsZip::mount file not exists: %s", newDir.c_str()); return false; } if (findLast(newDir, ".zip") == false) { - reportAlways("Called VirtFs::addToSearchPath without " + reportAlways("Called VirtFs::mount without " "zip archive"); return false; } if (searchEntryByRootInternal(newDir) != nullptr) { - reportAlways("FsZip::addToSearchPath already exists: %s", + reportAlways("FsZip::mount already exists: %s", newDir.c_str()); return false; } @@ -493,7 +493,7 @@ namespace VirtFs prepareFsPath(oldDir); if (findLast(oldDir, ".zip") == false) { - reportAlways("Called removeFromSearchPath without zip archive"); + reportAlways("Called unmount without zip archive"); return false; } FOR_EACH (std::vector::iterator, it, mEntries) -- cgit v1.2.3-70-g09d2