Add missing error reporting to file system ls

This commit is contained in:
Gary Talent 2017-05-13 23:19:17 -05:00
parent cafc6b7422
commit 9a920c5a99

View File

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