fat32: Fix wrong return type issue
This commit is contained in:
parent
7674fa6ac0
commit
5b8132a425
BIN
limine-pxe.bin
BIN
limine-pxe.bin
Binary file not shown.
BIN
limine.bin
BIN
limine.bin
Binary file not shown.
BIN
stage2.map
BIN
stage2.map
Binary file not shown.
@ -321,5 +321,5 @@ int fat32_open(struct fat32_file_handle* ret, struct part *part, const char* pat
|
||||
}
|
||||
|
||||
int fat32_read(struct fat32_file_handle* file, void* buf, uint64_t loc, uint64_t count) {
|
||||
return read_cluster_chain(&file->context, file->cluster_chain, buf, loc, count);
|
||||
return !read_cluster_chain(&file->context, file->cluster_chain, buf, loc, count);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user