hastd: Clean up the ebuf code

Missed an instance of bcopy().

Fixes:		48c0fc0171 ("hastd: Clean up the ebuf code")
This commit is contained in:
Dag-Erling Smørgrav committed 2026-09-03 15:35:48 +02:00
1 parent 48c0fc0171
commit 0abd71f39a
1 file changed
+1 -1
+1 -1
View File
@@ -248,7 +248,7 @@ ebuf_head_extend(struct ebuf *eb, size_t size)
newstart =
newbuf + (page_size / 4) + size + (eb->eb_start - eb->eb_buf);
bcopy(eb->eb_start, newstart, eb->eb_size);
memcpy(newstart, eb->eb_start, eb->eb_size);
eb->eb_buf = newbuf;
eb->eb_start = newstart;