KVM: selftests: Fix spelling mistake "begining" -> "beginning"
authorColin Ian King <colin.i.king@gmail.com>
Wed, 28 Sep 2022 21:34:58 +0000 (22:34 +0100)
committerSean Christopherson <seanjc@google.com>
Thu, 17 Nov 2022 00:58:53 +0000 (16:58 -0800)
There is a spelling mistake in an assert message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Link: https://lore.kernel.org/r/20220928213458.64089-1-colin.i.king@gmail.com
[sean: fix an ironic typo in the changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/lib/elf.c

index 9f54c098d9d08ac095fae7e56fc7ceef4d5660aa..d71a9a5974de566aa40daf3fc452a2055cad2931 100644 (file)
@@ -138,7 +138,7 @@ void kvm_vm_elf_load(struct kvm_vm *vm, const char *filename)
                offset = hdr.e_phoff + (n1 * hdr.e_phentsize);
                offset_rv = lseek(fd, offset, SEEK_SET);
                TEST_ASSERT(offset_rv == offset,
-                       "Failed to seek to begining of program header %u,\n"
+                       "Failed to seek to beginning of program header %u,\n"
                        "  filename: %s\n"
                        "  rv: %jd errno: %i",
                        n1, filename, (intmax_t) offset_rv, errno);