Skip to content

Commit

Permalink
create-diff-object: add init value for pfe flag
Browse files Browse the repository at this point in the history
Set pfe_per_function default to false.
  • Loading branch information
ZzzMao authored and swine committed May 31, 2024
1 parent c48342c commit 9b261ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kpatch-build/create-diff-object.c
Original file line number Diff line number Diff line change
Expand Up @@ -3805,7 +3805,7 @@ static void kpatch_create_mcount_sections(struct kpatch_elf *kelf)
struct symbol *sym;
struct rela *rela, *mcount_rela;
void **funcs;
bool pfe_per_function;
bool pfe_per_function = false;

nr = 0;
list_for_each_entry(sym, &kelf->symbols, list)
Expand Down

0 comments on commit 9b261ab

Please sign in to comment.