fat32: Fix wrong return type issue
diff --git a/limine-pxe.bin b/limine-pxe.bin
index 95c48697..5e98a025 100644
Binary files a/limine-pxe.bin and b/limine-pxe.bin differ
diff --git a/limine.bin b/limine.bin
index a0a30c8c..aba71294 100644
Binary files a/limine.bin and b/limine.bin differ
diff --git a/stage2.map b/stage2.map
index c01d4271..4a0aa594 100644
Binary files a/stage2.map and b/stage2.map differ
diff --git a/stage2/fs/fat32.c b/stage2/fs/fat32.c
index a40a1b50..287d0d87 100644
--- a/stage2/fs/fat32.c
+++ b/stage2/fs/fat32.c
@@ -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);
}
