LLFS
quick fix ls
This commit is contained in:
@@ -57,7 +57,7 @@ size_t llfs_file_list(llfs_file_t* file_list, size_t max_files, char* filter) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Iterate over all files in the filesystem
|
// Iterate over all files in the filesystem
|
||||||
while (file != NULL && file_count < max_files) {
|
while (file != NULL && count < max_files) {
|
||||||
// Filter out files with a filename that does not match the filter
|
// Filter out files with a filename that does not match the filter
|
||||||
if (filter != NULL) {
|
if (filter != NULL) {
|
||||||
if (!file_ext_cmp(file->name, filter)) {
|
if (!file_ext_cmp(file->name, filter)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user