Skip to content
Commit 5666fc99 authored by Chuang Wang's avatar Chuang Wang Committed by Andrii Nakryiko
Browse files

libbpf: Fix wrong variable used in perf_event_uprobe_open_legacy()



Use "type" as opposed to "err" in pr_warn() after
determine_uprobe_perf_type_legacy() returns an error.

Signed-off-by: default avatarChuang Wang <nashuiliang@gmail.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220629151848.65587-3-nashuiliang@gmail.com
parent 80940293
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment