summaryrefslogtreecommitdiff
path: root/Kernel/Devices/GPTPartitionTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Devices/GPTPartitionTable.cpp')
-rw-r--r--Kernel/Devices/GPTPartitionTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Devices/GPTPartitionTable.cpp b/Kernel/Devices/GPTPartitionTable.cpp
index 9031269031..019f8994e1 100644
--- a/Kernel/Devices/GPTPartitionTable.cpp
+++ b/Kernel/Devices/GPTPartitionTable.cpp
@@ -84,7 +84,7 @@ RefPtr<DiskPartition> GPTPartitionTable::partition(unsigned index)
GPTPartitionEntry entries[entries_per_sector];
auto entries_buffer = UserOrKernelBuffer::for_kernel_buffer((u8*)&entries);
- this->m_device->read_blocks(lba, 1, entries_buffer);
+ this->m_device->read_block(lba, entries_buffer);
GPTPartitionEntry& entry = entries[((index - 1) % entries_per_sector)];
#ifdef GPT_DEBUG