From bdb44e759483e2cf6b22d74b49cf8697adc3529f Mon Sep 17 00:00:00 2001 From: Seth Jennings Date: Fri, 18 Jul 2014 15:29:46 -0500 Subject: [PATCH] fix logging in kpatch_verify_patchability() log_normal() already prints the objname; no need to do it again Signed-off-by: Seth Jennings --- kpatch-build/create-diff-object.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kpatch-build/create-diff-object.c b/kpatch-build/create-diff-object.c index 7ea4eba..3f51823 100644 --- a/kpatch-build/create-diff-object.c +++ b/kpatch-build/create-diff-object.c @@ -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++; } }