]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
bpftool: Fix a typo in a comment
authorQuentin Monnet <quentin@isovalent.com>
Fri, 12 Aug 2022 15:37:25 +0000 (16:37 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 15 Aug 2022 15:29:42 +0000 (17:29 +0200)
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
tools/bpf/bpftool/feature.c

index 7ecabf7947fb09a54b2f744f7331bb1a39bc1fcc..36cf0f1517c9406a06f5d2fa57a937ff8b49b86d 100644 (file)
@@ -1147,7 +1147,7 @@ exit_free:
        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()) {