]> git.ipfire.org Git - thirdparty/kmod.git/commitdiff
libkmod: Fix typo
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 23 Sep 2024 18:32:53 +0000 (20:32 +0200)
committerLucas De Marchi <lucas.de.marchi@gmail.com>
Sat, 28 Sep 2024 04:03:24 +0000 (23:03 -0500)
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Link: https://github.com/kmod-project/kmod/pull/148
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
libkmod/libkmod-elf.c

index 6efe5d8abec95e034b516edbe902b3680f41a063..9f68eadc36fe1cd479aae22643ca5e131a46711c 100644 (file)
@@ -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;
                }
        }