diff options
Diffstat (limited to 'AK/ByteBuffer.h')
-rw-r--r-- | AK/ByteBuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AK/ByteBuffer.h b/AK/ByteBuffer.h index 064613f095..04f8afa3b0 100644 --- a/AK/ByteBuffer.h +++ b/AK/ByteBuffer.h @@ -293,7 +293,7 @@ private: // the caller is perhaps appending very little data in many calls. // To avoid copying the entire ByteBuffer every single time, // we raise the capacity exponentially, by a factor of roughly 1.5. - // This is most noticable in Lagom, where kmalloc_good_size is just a no-op. + // This is most noticeable in Lagom, where kmalloc_good_size is just a no-op. new_capacity = max(new_capacity, (capacity() * 3) / 2); new_capacity = kmalloc_good_size(new_capacity); auto* new_buffer = static_cast<u8*>(kmalloc(new_capacity)); |