diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-09 19:25:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-09 19:25:00 +0300 |
commit | cb04c90da224a2daa5beb9b2fae558abd2cb5c0e (patch) | |
tree | 6c975fa03e2148ef8b4532b4cfdc3d976030163f | |
parent | 6de2ea2444ea0f89ff55a52737bf04bce4cb669f (diff) | |
download | manaverse-cb04c90da224a2daa5beb9b2fae558abd2cb5c0e.tar.gz manaverse-cb04c90da224a2daa5beb9b2fae558abd2cb5c0e.tar.bz2 manaverse-cb04c90da224a2daa5beb9b2fae558abd2cb5c0e.tar.xz manaverse-cb04c90da224a2daa5beb9b2fae558abd2cb5c0e.zip |
Fix mount / unmount function names in fs.cpp.
-rw-r--r-- | src/fs/virtfs/fs.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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<FsEntry*>::iterator, it, mEntries) |