bpftool: Fix a typo in a comment

This is the wrong library name: libcap, not libpcap.

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220812153727.224500-1-quentin@isovalent.com
This commit is contained in:
Quentin Monnet 2022-08-12 16:37:25 +01:00 committed by Daniel Borkmann
parent 10b62d6a38
commit 54c939773b

View File

@ -1147,7 +1147,7 @@ exit_free:
return res; return res;
#else #else
/* Detection assumes user has specific privileges. /* Detection assumes user has specific privileges.
* We do not use libpcap so let's approximate, and restrict usage to * We do not use libcap so let's approximate, and restrict usage to
* root user only. * root user only.
*/ */
if (geteuid()) { if (geteuid()) {