Commit 53362fe9 authored by Christian Borntraeger's avatar Christian Borntraeger Committed by Paolo Bonzini

selftests: KVM: s390: fixup fprintf format error in reset.c

value is u64 and not string.
Reported-by: default avatarAndrew Jones <drjones@redhat.com>
Signed-off-by: default avatarChristian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 42593624
...@@ -53,7 +53,7 @@ static void test_one_reg(uint64_t id, uint64_t value) ...@@ -53,7 +53,7 @@ static void test_one_reg(uint64_t id, uint64_t value)
reg.addr = (uintptr_t)&eval_reg; reg.addr = (uintptr_t)&eval_reg;
reg.id = id; reg.id = id;
vcpu_get_reg(vm, VCPU_ID, &reg); vcpu_get_reg(vm, VCPU_ID, &reg);
TEST_ASSERT(eval_reg == value, "value == %s", value); TEST_ASSERT(eval_reg == value, "value == 0x%lx", value);
} }
static void assert_noirq(void) static void assert_noirq(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment