diff mbox series

KVM: Fix a typo

Message ID 20220621080128.49513-1-jiaming@nfschina.com (mailing list archive)
State Accepted
Commit 9a6418dacd241169df9e0eeefc7980b3f9b40794
Headers show
Series KVM: Fix a typo | expand

Commit Message

Zhang Jiaming June 21, 2022, 8:01 a.m. UTC
There is a typo in kvm_vm_elf_load. Change 'begining' to 'beginning'.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 tools/testing/selftests/kvm/lib/elf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/testing/selftests/kvm/lib/elf.c b/tools/testing/selftests/kvm/lib/elf.c
index 13e8e3dcf984..272ea7d39fb4 100644
--- a/tools/testing/selftests/kvm/lib/elf.c
+++ b/tools/testing/selftests/kvm/lib/elf.c
@@ -139,7 +139,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);