mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
hastd: Clean up the ebuf code
Missed an instance of bcopy().
Fixes: 48c0fc0171 ("hastd: Clean up the ebuf code")
This commit is contained in:
1 parent
48c0fc0171
commit
0abd71f39a
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user