Add missing error reporting to file system ls
This commit is contained in:
parent
cafc6b7422
commit
9a920c5a99
2
deps/ox/src/ox/fs/filesystem.hpp
vendored
2
deps/ox/src/ox/fs/filesystem.hpp
vendored
@ -244,7 +244,7 @@ int FileSystem::ls(const char *path, List *list) {
|
|||||||
uint8_t dirBuff[s.size * 4];
|
uint8_t dirBuff[s.size * 4];
|
||||||
auto dir = (Directory<uint64_t, uint64_t>*) dirBuff;
|
auto dir = (Directory<uint64_t, uint64_t>*) dirBuff;
|
||||||
auto err = readDirectory(path, dir);
|
auto err = readDirectory(path, dir);
|
||||||
dir->ls(list);
|
err |= dir->ls(list);
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user