diff --git a/test/unit/lib/blob/blob.c/blob_ut.c b/test/unit/lib/blob/blob.c/blob_ut.c index 118fa0cf6..75b824283 100644 --- a/test/unit/lib/blob/blob.c/blob_ut.c +++ b/test/unit/lib/blob/blob.c/blob_ut.c @@ -2420,8 +2420,8 @@ bs_version(void) * region on "disk". We will use this to ensure blob IDs are * correctly reconstructed. */ - memset(&g_dev_buffer[super->used_blobid_mask_start * PAGE_SIZE], 0, - super->used_blobid_mask_len * PAGE_SIZE); + memset(&g_dev_buffer[super->used_blobid_mask_start * SPDK_BS_PAGE_SIZE], 0, + super->used_blobid_mask_len * SPDK_BS_PAGE_SIZE); super->used_blobid_mask_start = 0; super->used_blobid_mask_len = 0; super->crc = _spdk_blob_md_page_calc_crc(super);