]>
Commit | Line | Data |
---|---|---|
9665627f AM |
1 | From 7c99c167f41d3f8810808436d2ac58afc3a7d6c7 Mon Sep 17 00:00:00 2001 |
2 | From: =?UTF-8?q?Nikola=20Forr=C3=B3?= <nforro@redhat.com> | |
3 | Date: Tue, 17 Apr 2018 13:33:03 +0200 | |
4 | Subject: [PATCH 5/6] api.c: Fix level of failed user/group lookup warnings | |
5 | MIME-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ||
9 | Signed-off-by: Nikola Forró <nforro@redhat.com> | |
10 | --- | |
11 | src/api.c | 4 ++-- | |
12 | 1 file changed, 2 insertions(+), 2 deletions(-) | |
13 | ||
14 | diff --git a/src/api.c b/src/api.c | |
15 | index 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 | -- | |
37 | 2.17.0 | |
38 |