Skip to content
Commit e588c116 authored by Wang Yufen's avatar Wang Yufen Committed by Andrii Nakryiko
Browse files

libbpf: Add pathname_concat() helper



Move snprintf and len check to common helper pathname_concat() to make the
code simpler.

Signed-off-by: default avatarWang Yufen <wangyufen@huawei.com>
Signed-off-by: default avatarAndrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1663828124-10437-1-git-send-email-wangyufen@huawei.com
parent e0401dce
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