aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/fs/amigaos4/amigaos4-fs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/fs/amigaos4/amigaos4-fs.cpp b/backends/fs/amigaos4/amigaos4-fs.cpp
index a6812a27ba..5f77590f3c 100644
--- a/backends/fs/amigaos4/amigaos4-fs.cpp
+++ b/backends/fs/amigaos4/amigaos4-fs.cpp
@@ -223,7 +223,6 @@ bool AmigaOSFilesystemNode::exists() const {
// IDOS->FreeDosObject(DOS_FIB, fib);
//
// ============================= New code
-
BPTR pLock = IDOS->Lock(_sPath.c_str(), SHARED_LOCK);
if (pLock) {
nodeExists = true;
@@ -391,7 +390,7 @@ AbstractFSList AmigaOSFilesystemNode::listVolumes() const {
struct DosList *dosList = IDOS->LockDosList(kLockFlags);
if (!dosList) {
- debug(6, "Cannot lock DOS list!");
+ debug(6, "Cannot LockDOSList!");
LEAVE();
return myList;
}