Commit 54c93977 authored by Quentin Monnet's avatar Quentin Monnet Committed by Daniel Borkmann

bpftool: Fix a typo in a comment

This is the wrong library name: libcap, not libpcap.
Signed-off-by: default avatarQuentin Monnet <quentin@isovalent.com>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20220812153727.224500-1-quentin@isovalent.com
parent 10b62d6a
...@@ -1147,7 +1147,7 @@ static int handle_perms(void) ...@@ -1147,7 +1147,7 @@ static int handle_perms(void)
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()) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment