Merge pull request #319 from spartacus06/fix-msgs

fix logging in kpatch_verify_patchability()
This commit is contained in:
Josh Poimboeuf 2014-07-18 16:02:36 -05:00
commit 434ed7a10e
1 changed files with 4 additions and 4 deletions

View File

@ -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++;
}
}