From 9626e135722f97006aed40fe9ef1a770f68d5ba0 Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Mon, 23 Sep 2024 20:32:53 +0200 Subject: [PATCH] libkmod: Fix typo Signed-off-by: Tobias Stoeckmann Reviewed-by: Emil Velikov Link: https://github.com/kmod-project/kmod/pull/148 Signed-off-by: Lucas De Marchi --- libkmod/libkmod-elf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libkmod/libkmod-elf.c b/libkmod/libkmod-elf.c index 6efe5d8a..9f68eadc 100644 --- a/libkmod/libkmod-elf.c +++ b/libkmod/libkmod-elf.c @@ -344,7 +344,7 @@ struct kmod_elf *kmod_elf_new(const void *memory, off_t size) uint64_t slen; const char *s = elf_get_strings_section(elf, &slen); if (slen == 0 || s[slen - 1] != '\0') { - ELFDBG(elf, "strings section does not ends with \\0\n"); + ELFDBG(elf, "strings section does not end with \\0\n"); goto invalid; } } -- 2.47.3