diff --git a/src/vol/vol-salvage.c b/src/vol/vol-salvage.c index 390c202f0c..0b1fa2687c 100644 --- a/src/vol/vol-salvage.c +++ b/src/vol/vol-salvage.c @@ -3323,7 +3323,7 @@ DistilVnodeEssence(struct SalvInfo *salvinfo, VolumeId rwVId, if (class != vLarge) { VnodeId vnodeNumber = bitNumberToVnodeNumber(vnodeIndex, class); vip->nAllocatedVnodes--; - memset(vnode, 0, sizeof(vnode)); + memset(vnode, 0, sizeof(*vnode)); IH_IWRITE(salvinfo->vnodeInfo[vSmall].handle, vnodeIndexOffset(vcp, vnodeNumber), (char *)&vnode, sizeof(vnode));