]> git.pld-linux.org Git - packages/libcgroup.git/blame - libcgroup-0.41-fix-log-level.patch
- rel 5; add patches from FC
[packages/libcgroup.git] / libcgroup-0.41-fix-log-level.patch
CommitLineData
9665627f
AM
1From 7c99c167f41d3f8810808436d2ac58afc3a7d6c7 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com>
3Date: Tue, 17 Apr 2018 13:33:03 +0200
4Subject: [PATCH 5/6] api.c: Fix level of failed user/group lookup warnings
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Signed-off-by: Nikola Forró <nforro@redhat.com>
10---
11 src/api.c | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14diff --git a/src/api.c b/src/api.c
15index 51081b4..efde2d1 100644
16--- a/src/api.c
17+++ b/src/api.c
18@@ -639,7 +639,7 @@ static int cgroup_parse_rules(bool cache, uid_t muid,
19 uid = CGRULE_INVALID;
20 gid = grp->gr_gid;
21 } else {
22- cgroup_dbg("Warning: Entry for %s not"
23+ cgroup_warn("Warning: Entry for %s not"
24 "found. Skipping rule on line"
25 " %d.\n", itr, linenum);
26 skipped = true;
27@@ -656,7 +656,7 @@ static int cgroup_parse_rules(bool cache, uid_t muid,
28 uid = pwd->pw_uid;
29 gid = CGRULE_INVALID;
30 } else {
31- cgroup_dbg("Warning: Entry for %s not"
32+ cgroup_warn("Warning: Entry for %s not"
33 "found. Skipping rule on line"
34 " %d.\n", user, linenum);
35 skipped = true;
36--
372.17.0
38
This page took 0.070492 seconds and 4 git commands to generate.