managed_bytes: fix copy size in move constructor
Signed-off-by: Paweł Dziepak <pdziepak@scylladb.com>
This commit is contained in:
committed by
Avi Kivity
parent
d68a8b5349
commit
8ba66bb75d
@@ -57,7 +57,7 @@ struct blob_storage {
|
||||
if (next) {
|
||||
next->backref = &next;
|
||||
}
|
||||
memcpy(data, o.data, size);
|
||||
memcpy(data, o.data, frag_size);
|
||||
}
|
||||
} __attribute__((packed));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user