mirror of
https://github.com/kmod-project/kmod.git
synced 2026-01-26 15:39:08 +00:00
libkmod: Fix typo
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>
This commit is contained in:
parent
f60d026e9f
commit
9626e13572
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user