caps: dont' throw warning if CAP_AUDIT_READ is not understood by libcap during reading
authorRobert Swiecki <robert@swiecki.net>
Fri, 29 Sep 2017 19:31:22 +0000 (21:31 +0200)
committerRobert Swiecki <robert@swiecki.net>
Fri, 29 Sep 2017 19:31:22 +0000 (21:31 +0200)
caps.c

diff --git a/caps.c b/caps.c
index 774ede22d1769a660122e661ca71c0afae5766a5..9f1d822f8e194ab2b0cff4b59559fc923432a327 100644 (file)
--- a/caps.c
+++ b/caps.c
@@ -137,7 +137,7 @@ static cap_flag_value_t capsGetCap(cap_t cap, cap_value_t id, cap_flag_t type)
        if (cap_get_flag(cap, id, type, &v) == -1) {
 #if defined(CAP_AUDIT_READ)
                if (id == CAP_AUDIT_READ) {
-                       PLOG_W
+                       PLOG_D
                            ("CAP_AUDIT_READ requested to be read but your libcap doesn't understand this capability");
                        return CAP_CLEAR;
                }