From db367845d3c24d51df2bf07cc4686bc92d05fc8d Mon Sep 17 00:00:00 2001 From: Hubert Maier Date: Sat, 9 Nov 2019 20:16:02 +0100 Subject: AmigaOS4: More fixes and cleaning --- backends/fs/amigaos4/amigaos4-fs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backends') 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; } -- cgit v1.2.3