mirror of
https://github.com/dynup/kpatch
synced 2024-12-24 14:12:06 +00:00
Merge pull request #319 from spartacus06/fix-msgs
fix logging in kpatch_verify_patchability()
This commit is contained in:
commit
434ed7a10e
@ -913,8 +913,8 @@ void kpatch_verify_patchability(struct kpatch_elf *kelf)
|
||||
|
||||
list_for_each_entry(sec, &kelf->sections, list) {
|
||||
if (sec->status == CHANGED && !sec->include) {
|
||||
log_normal("%s: changed section %s not selected for inclusion\n",
|
||||
objname, sec->name);
|
||||
log_normal("changed section %s not selected for inclusion\n",
|
||||
sec->name);
|
||||
errs++;
|
||||
}
|
||||
|
||||
@ -922,8 +922,8 @@ void kpatch_verify_patchability(struct kpatch_elf *kelf)
|
||||
if (sec->include &&
|
||||
(!strncmp(sec->name, ".data", 5) ||
|
||||
!strncmp(sec->name, ".bss", 4))) {
|
||||
log_normal("%s: data section %s selected for inclusion\n",
|
||||
objname, sec->name);
|
||||
log_normal("data section %s selected for inclusion\n",
|
||||
sec->name);
|
||||
errs++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user