diff --git a/test/unit/lib/lvol/lvol.c/lvol_ut.c b/test/unit/lib/lvol/lvol.c/lvol_ut.c index 01c119dc0f..739942934d 100644 --- a/test/unit/lib/lvol/lvol.c/lvol_ut.c +++ b/test/unit/lib/lvol/lvol.c/lvol_ut.c @@ -1069,7 +1069,7 @@ lvols_load(void) blob3 = calloc(1, sizeof(*blob3)); SPDK_CU_ASSERT_FATAL(blob3 != NULL); blob3->id = 0x2; - spdk_blob_md_set_xattr(blob2, "uuid", uuid, UUID_STRING_LEN); + spdk_blob_md_set_xattr(blob3, "uuid", uuid, UUID_STRING_LEN); spdk_blob_md_set_xattr(blob3, "name", "lvol3", strnlen("lvol3", SPDK_LVOL_NAME_MAX) + 1); blob3->uuid[UUID_STRING_LEN - 2] = '3'; @@ -1159,7 +1159,7 @@ lvol_open(void) blob3 = calloc(1, sizeof(*blob3)); SPDK_CU_ASSERT_FATAL(blob3 != NULL); blob3->id = 0x2; - spdk_blob_md_set_xattr(blob2, "uuid", uuid, UUID_STRING_LEN); + spdk_blob_md_set_xattr(blob3, "uuid", uuid, UUID_STRING_LEN); spdk_blob_md_set_xattr(blob3, "name", "lvol3", strnlen("lvol3", SPDK_LVOL_NAME_MAX) + 1); blob3->uuid[UUID_STRING_LEN - 2] = '3';