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; }