summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/KBufferBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/KBufferBuilder.cpp b/Kernel/KBufferBuilder.cpp
index adc0da3516..51734bbb93 100644
--- a/Kernel/KBufferBuilder.cpp
+++ b/Kernel/KBufferBuilder.cpp
@@ -65,7 +65,7 @@ void KBufferBuilder::append(const char* characters, int length)
return;
if (!can_append(length))
return;
- memcpy(insertion_ptr() + m_size, characters, length);
+ memcpy(insertion_ptr(), characters, length);
m_size += length;
}