From c0f40fe5ad91261f0b84d530faee150a14b0ce90 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 7 Sep 2021 17:38:04 +0200 Subject: [PATCH] lib/caputils: use lib/procfs.c --- lib/caputils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 */ -- 2.47.3