selftests: KVM: s390: fixup fprintf format error in reset.c
value is u64 and not string. Reported-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
committed by
Paolo Bonzini
parent
425936246f
commit
53362fe930
@@ -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, ®);
|
vcpu_get_reg(vm, VCPU_ID, ®);
|
||||||
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)
|
||||||
|
Reference in New Issue
Block a user