X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=tools%2Ftesting%2Fselftests%2Fkvm%2Fdemand_paging_test.c;h=bf3609f718544fb2b5d6c116d8eec4b28c29ab98;hb=c9cd0beae9d9c3a675eb73ee45e29900d8c11bd2;hp=09c116a82a8499d7b14dc60bdcb088dd6c6914c7;hpb=34069d12e239ae8f36dd96c378e4622fb1c42a76;p=linux-2.6-block.git diff --git a/tools/testing/selftests/kvm/demand_paging_test.c b/tools/testing/selftests/kvm/demand_paging_test.c index 09c116a82a84..bf3609f71854 100644 --- a/tools/testing/selftests/kvm/demand_paging_test.c +++ b/tools/testing/selftests/kvm/demand_paging_test.c @@ -45,10 +45,10 @@ static void vcpu_worker(struct memstress_vcpu_args *vcpu_args) /* Let the guest access its memory */ ret = _vcpu_run(vcpu); - TEST_ASSERT(ret == 0, "vcpu_run failed: %d\n", ret); + TEST_ASSERT(ret == 0, "vcpu_run failed: %d", ret); if (get_ucall(vcpu, NULL) != UCALL_SYNC) { TEST_ASSERT(false, - "Invalid guest sync status: exit_reason=%s\n", + "Invalid guest sync status: exit_reason=%s", exit_reason_str(run->exit_reason)); }