summaryrefslogtreecommitdiff
path: root/VirtualFileSystem/Ext2FileSystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'VirtualFileSystem/Ext2FileSystem.cpp')
-rw-r--r--VirtualFileSystem/Ext2FileSystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/VirtualFileSystem/Ext2FileSystem.cpp b/VirtualFileSystem/Ext2FileSystem.cpp
index 56d01a08cf..106b1058dd 100644
--- a/VirtualFileSystem/Ext2FileSystem.cpp
+++ b/VirtualFileSystem/Ext2FileSystem.cpp
@@ -158,7 +158,7 @@ Vector<unsigned> Ext2FS::block_list_for_inode(const ext2_inode& e2inode) const
unsigned blockCount = e2inode.i_blocks / (blockSize() / 512);
unsigned blocksRemaining = blockCount;
Vector<unsigned> list;
- list.ensureCapacity(blocksRemaining);
+ list.ensure_capacity(blocksRemaining);
unsigned directCount = min(blockCount, (unsigned)EXT2_NDIR_BLOCKS);
for (unsigned i = 0; i < directCount; ++i) {