diff --git a/dp-core/vr_btable.c b/dp-core/vr_btable.c index 7f949ed4b..8dbcb5199 100644 --- a/dp-core/vr_btable.c +++ b/dp-core/vr_btable.c @@ -181,7 +181,7 @@ vr_btable_attach(struct iovec *iov, unsigned int iov_len, if (iov[0].iov_len % esize) return NULL; - alloc_size = sizeof(struct vr_btable *); + alloc_size = sizeof(struct vr_btable); alloc_size += (sizeof(void *) * iov_len); alloc_size += (sizeof(struct vr_btable_partition) * iov_len);