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
1 changed files with 1 additions and 1 deletions

View File

@ -1147,7 +1147,7 @@ static int handle_perms(void)
return res;
#else
/* 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.
*/
if (geteuid()) {