From: Karel Zak Date: Tue, 7 Sep 2021 15:38:04 +0000 (+0200) Subject: lib/caputils: use lib/procfs.c X-Git-Tag: v2.38-rc1~144^2~112 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c0f40fe5ad91261f0b84d530faee150a14b0ce90;p=thirdparty%2Futil-linux.git lib/caputils: use lib/procfs.c --- diff --git a/lib/caputils.c b/lib/caputils.c index 13a376bfce..987533a343 100644 --- a/lib/caputils.c +++ b/lib/caputils.c @@ -22,8 +22,8 @@ #include "c.h" #include "caputils.h" -#include "procutils.h" #include "pathnames.h" +#include "procfs.h" static int test_cap(unsigned int cap) { @@ -58,7 +58,7 @@ static int cap_last_by_procfs(int *ret) *ret = 0; - if (f && proc_is_procfs(fileno(f))) { + if (f && fd_is_procfs(fileno(f))) { int cap; /* we check if the cap after this one really isn't valid */