summaryrefslogtreecommitdiff
path: root/Kernel/Net
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2020-10-02 22:14:37 +0100
committerAndreas Kling <kling@serenityos.org>2020-10-03 12:36:49 +0200
commitbcfc6f0c57f9d4ce4343cbb6ee0f0ab8de56c789 (patch)
treed3e16e6361f4693ae5362c10da05bc6a4ad30190 /Kernel/Net
parent4e86c34ef0d1d227309f8e8d22be5ea737830c24 (diff)
downloadserenity-bcfc6f0c57f9d4ce4343cbb6ee0f0ab8de56c789.zip
Everywhere: Fix more typos
Diffstat (limited to 'Kernel/Net')
-rw-r--r--Kernel/Net/RTL8139NetworkAdapter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Net/RTL8139NetworkAdapter.cpp b/Kernel/Net/RTL8139NetworkAdapter.cpp
index 7d749fe11f..efb26fdb92 100644
--- a/Kernel/Net/RTL8139NetworkAdapter.cpp
+++ b/Kernel/Net/RTL8139NetworkAdapter.cpp
@@ -359,7 +359,7 @@ void RTL8139NetworkAdapter::receive()
// we never have to worry about the packet wrapping around the buffer,
// since we set RXCFG_WRAP_INHIBIT, which allows the rtl8139 to write data
- // past the end of the alloted space.
+ // past the end of the allotted space.
memcpy(m_packet_buffer->vaddr().as_ptr(), (const u8*)(start_of_packet + 4), length - 4);
// let the card know that we've read this data
m_rx_buffer_offset = ((m_rx_buffer_offset + length + 4 + 3) & ~3) % RX_BUFFER_SIZE;