diff mbox series

kvm: selftests: fix spelling mistake "begining" -> "beginning"

Message ID 20181126160814.27473-1-colin.king@canonical.com (mailing list archive)
State Accepted
Commit 9a6418dacd241169df9e0eeefc7980b3f9b40794
Headers show
Series kvm: selftests: fix spelling mistake "begining" -> "beginning" | expand

Commit Message

Colin King Nov. 26, 2018, 4:08 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

The text in a TEST_ASSERT message contains a spelling mistake, fix it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 tools/testing/selftests/kvm/lib/elf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Paolo Bonzini Nov. 26, 2018, 5:07 p.m. UTC | #1
On 26/11/18 17:08, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> The text in a TEST_ASSERT message contains a spelling mistake, fix it.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
>  tools/testing/selftests/kvm/lib/elf.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/testing/selftests/kvm/lib/elf.c b/tools/testing/selftests/kvm/lib/elf.c
> index 5eb857584aa3..53c48f7587d3 100644
> --- a/tools/testing/selftests/kvm/lib/elf.c
> +++ b/tools/testing/selftests/kvm/lib/elf.c
> @@ -141,7 +141,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);
> 

Queued, thanks.

Paolo
diff mbox series

Patch

diff --git a/tools/testing/selftests/kvm/lib/elf.c b/tools/testing/selftests/kvm/lib/elf.c
index 5eb857584aa3..53c48f7587d3 100644
--- a/tools/testing/selftests/kvm/lib/elf.c
+++ b/tools/testing/selftests/kvm/lib/elf.c
@@ -141,7 +141,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);