From e28d3b7f0be43b6b05eab2fa079a98d4c2032f0a Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 22 Aug 2023 23:14:40 +0200 Subject: [PATCH] - fix directory check in POSIX directory loader. --- src/common/filesystem/source/fs_findfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filesystem/source/fs_findfile.cpp b/src/common/filesystem/source/fs_findfile.cpp index 39851ce088..cf6e69d667 100644 --- a/src/common/filesystem/source/fs_findfile.cpp +++ b/src/common/filesystem/source/fs_findfile.cpp @@ -164,7 +164,7 @@ static int FS_FindAttr(findstate_t *const fileinfo) const std::string path = fileinfo->path + ent->d_name; bool isdir; - if (DirEntryExists(path.c_str(), &isdir)) + if (FS_DirEntryExists(path.c_str(), &isdir)) { return isdir ? FA_DIREC : 0; }